Search found 56 matches

by denis.cohen
29 Aug 2020, 17:33
Forum: General
Topic: Multiple LUA files with modules
Replies: 0
Views: 4941

Multiple LUA files with modules

Hello,
Has anyone tried to use multiple lua files with modules and use these files in an elmer sif file?
I am having difficulties accessing constants defined in a lua module inside the sif file. Any help appreciated.
Thanks
Denis
by denis.cohen
10 Jul 2014, 21:15
Forum: ElmerSolver
Topic: Periodic BC Rotate
Replies: 9
Views: 8076

Re: Periodic BC Rotate

Hi Peter, Adding in the periodic bc: Periodic BC Use Lagrange Coefficient = Logical True and the code crashed with this: FlowSolve: ------------------------------------- FlowSolve: NAVIER-STOKES ITERATION 1 FlowSolve: ------------------------------------- FlowSolve: FlowSolve: Starting Assembly... F...
by denis.cohen
09 Jul 2014, 10:01
Forum: ElmerSolver
Topic: Periodic BC Rotate
Replies: 9
Views: 8076

Re: Periodic BC Rotate

Hi Peter, Thanks for the tip. It now works. However, in this 3d problem, there are issues at the edges of the different boundaries. The velocity is not enforced properly (see attachment with views of velocity vectors). This gives some not very physical values of velocities at edges and corners. How ...
by denis.cohen
07 Jul 2014, 15:16
Forum: ElmerSolver
Topic: Periodic BC Rotate
Replies: 9
Views: 8076

Periodic BC Rotate

Hi, I have this geometry (see image) and need to enforce a periodic boundary (between inlet and outlet). There is a 30 degrees rotation along the z axis (vertical, out of image) to bring the inlet back onto the outlet. The problem is 3d. How do I enforce this poeriodic bc in my sif files? what I tri...
by denis.cohen
18 Mar 2014, 11:28
Forum: General
Topic: Periodic BCs in parallel
Replies: 2
Views: 2872

Re: Periodic BCs in parallel

Hi Peter, Reopening this post. I also have periodic bc in parallel. Tried the -periodic but that crashed: $ ElmerGrid 2 2 mesh3d_fit -metis 4 4 -periodic 0 1 0 Starting program Elmergrid Elmergrid reading in-line arguments The mesh will be partitioned with Metis to 4 partitions. Output will be saved...
by denis.cohen
27 Feb 2014, 19:46
Forum: ElmerSolver
Topic: Converting Gmsh file to Cylindrical Coordinates
Replies: 3
Views: 4133

Re: Converting Gmsh file to Cylindrical Coordinates

Thanks Peter,

The transformation is working beautifully.

Denis
by denis.cohen
26 Feb 2014, 17:43
Forum: ElmerSolver
Topic: Converting Gmsh file to Cylindrical Coordinates
Replies: 3
Views: 4133

Re: Converting Gmsh file to Cylindrical Coordinates

Hello,

Related topic, I would also like to know if inside ElmerSolver there is a way to convert a 3D r/theta/z (cylindrical) mesh to a 3D x/y/z mesh.
I assume that the Navier Stokes solver and all it's functionality (e.g., periodic bc) does not work in r/theta/z coordinate system.

Thank you

Denis
by denis.cohen
01 Feb 2014, 20:32
Forum: Elmer/Ice
Topic: Basal Friction cooling
Replies: 1
Views: 5632

Basal Friction cooling

Hello, I am getting strange results when I turn on basal friction. My bed is cooler (lower temperature) than if I don't have basal friction. I suspected the other way around. I've been following the instructions on the wiki to set it up. Has anyone noticed such behavior? Is there a sign problem? Tha...
by denis.cohen
01 Feb 2014, 20:28
Forum: Elmer/Ice
Topic: Outflow natural boundary when v.n is outward
Replies: 2
Views: 7325

Re: Outflow natural boundary when v.n is outward

Hi Thomas,
Thanks for the info. It's running now. Will check results.
Denis
by denis.cohen
26 Jan 2014, 20:58
Forum: Elmer/Ice
Topic: Outflow natural boundary when v.n is outward
Replies: 2
Views: 7325

Outflow natural boundary when v.n is outward

Hello, I don't want to impose a Dirichlet Temp BC when the surface velocity is out of the free surface (v.n >0) so I have this in my top surface BC: Temp = Variable Coordinate 3 Real MATC "min(273.15 273.15-5.3-0.006*tx)" Temp Condition = Variable Velocity 1 , Velocity 2 , Velocity 3, Norm...