Hello.I want to use the ELMER to do the fsi about the artery.
Now I have mode a simple model for it and completed the simulation.
I uploaded the sif file.
The next step I want to add the impulses into the input flow.
Could you give me an advice?
Thanks in advance
how to add impulses in Elmer
-
- Posts: 13
- Joined: 16 May 2019, 08:44
- Antispam: Yes
how to add impulses in Elmer
- Attachments
-
- case.sif
- (3.51 KiB) Downloaded 302 times
-
- Posts: 2301
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: how to add impulses in Elmer
You can use MATC to input as a function of time or use tables, see the MATC manual
Velocity = Variable Time
Real MATC "if (tx <= .01) (tx/.01)*200.E6; if (tx > .01) 0.0"
Velocity = Variable Time
Real MATC "if (tx <= .01) (tx/.01)*200.E6; if (tx > .01) 0.0"
-
- Posts: 2301
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: how to add impulses in Elmer
Tables and Arrays
Tables (piecewise linear
or cubic):
Arrays:
Velocity = Variable Time
Real cubic
0 0
.1 1
.2 0
.3 1
.4 0
.5 1
End
Tables (piecewise linear
or cubic):
Arrays:
Velocity = Variable Time
Real cubic
0 0
.1 1
.2 0
.3 1
.4 0
.5 1
End
-
- Posts: 13
- Joined: 16 May 2019, 08:44
- Antispam: Yes
Re: how to add impulses in Elmer
Hello kevinarden.Many thanks.
I followed your advice to input the impulses in Elmer.
But it does not work.If there something wrong in my operation?
I only use the Navier-Stokes and Nonlinear-Elasticty solutions for Fsi.
Do I need to add Mesh updates solution?
Could you please explain it more specifically.
Many Thanks.
chen
I followed your advice to input the impulses in Elmer.
But it does not work.If there something wrong in my operation?
I only use the Navier-Stokes and Nonlinear-Elasticty solutions for Fsi.
Do I need to add Mesh updates solution?
Could you please explain it more specifically.
Many Thanks.
chen
-
- Site Admin
- Posts: 4823
- Joined: 22 Aug 2009, 11:57
- Antispam: Yes
- Location: Espoo, Finland
- Contact:
Re: how to add impulses in Elmer
Hi chen,
Why don't you look at test case "ArteryOutlet" under $ELMERSRC/fem/test. It comes with
-Peter
Why don't you look at test case "ArteryOutlet" under $ELMERSRC/fem/test. It comes with
- coupled fluid-structure & mesh update
- 1D non-reflective outlet model with on-the-fly defined mesh
- pulse defined in an UDF function
-Peter
-
- Posts: 13
- Joined: 16 May 2019, 08:44
- Antispam: Yes
Re: how to add impulses in Elmer
Hello peter,
I find the test case that you reminded.
But I do not konw how to use it.Is there some instructions about it ?
Thank you.
-chen
I find the test case that you reminded.
But I do not konw how to use it.Is there some instructions about it ?
Thank you.
-chen
-
- Posts: 2301
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: how to add impulses in Elmer
read the runtest.cmake file the mesh is made by
ElmerGrid 1 2 contra.grd
then run the problem with the case.sif using
ElmerSolver
ElmerGrid 1 2 contra.grd
then run the problem with the case.sif using
ElmerSolver
-
- Posts: 2301
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: how to add impulses in Elmer
You would have to describe how it doesn't work or post both the sif and mesh file and i can test it.chen junnan wrote: ↑27 May 2019, 11:15 Hello kevinarden.Many thanks.
I followed your advice to input the impulses in Elmer.
But it does not work.If there something wrong in my operation?
I only use the Navier-Stokes and Nonlinear-Elasticty solutions for Fsi.
Do I need to add Mesh updates solution?
Could you please explain it more specifically.
Many Thanks.
chen