HiFiLES / HiFiLES-solver

High Fidelity Large Eddy Simulation Solver
Other
172 stars 131 forks source link

how hifiles treat inner surfaces #32

Closed popstar0426 closed 9 years ago

popstar0426 commented 9 years ago

May I define two "Cyclic" surfaces in a mesh? I used "Extrude" in Gmsh to change 2D naca0012_structured mesh to 3D. Two surfaces should be defined as "Cyclic" as I think. Question is should I define them in one Physical surface with a "Cyclic", or I could define them separately with the same name "Cyclic".

Another question: In extruded 3D naca0012 structured mesh, there are surfaces between different blocks. Is there any effect with the inner surfaces? (The outer surfaces has been defined as Boundary conditions). Will HiFiLES treat them as "real" surfaces (then it is wrong)?

Best regards! Yue

jrbull commented 9 years ago

Yue,

You can have multiple surfaces marked as “Cyclic”. The code simply builds a list of all surface elements marked as cyclic and then checks whether they are the correct distance apart. See e.g. the Taylor Green Vortex test case which has 6 cyclic surfaces. Interior surfaces are ignored by the code. Regards, Jonathan

Postdoctoral Scholar Dept of Aero/Astro Engineering Stanford University

On Dec 10, 2014, at 7:16 AM, popstar0426 notifications@github.com wrote:

May I define two "Cyclic" surfaces in a mesh? I used "Extrude" in Gmsh to change 2D naca0012_structured mesh to 3D. Two surfaces should be defined as "Cyclic" as I think. Question is should I define them in one Physical surface with a "Cyclic", or I could define them separately with the same name "Cyclic".

Another question: In extruded 3D naca0012 structured mesh, there are surfaces between different blocks. Is there any effect with the inner surfaces? (The outer surfaces has been defined as Boundary conditions). Will HiFiLES treat them as "real" surfaces (then it is wrong)?

Best regards! Yue

— Reply to this email directly or view it on GitHub.

JacobCrabill commented 9 years ago

Sounds like you're doing everything correctly, but here's a slight clarification on interior surfaces: 1) Any "PhysicalNames" in the .msh file will be treated as boundary conditions by HiFiLES, so interior surfaces shouldn't be made into "Physical Line"s or "Physical Surface"s in Gmsh. 2) When dealing with a multi-block mesh, there must be no duplicate lines or points on the interface between the blocks - for example, if you have 2 rectangular blocks touching at a line, that same line segment must be used by both blocks; you can't define an additional, identical/overlapping (but separate) line and use it in one of the blocks. Same goes for surfaces.