Meshing of a 2D channel with additional inlet (small hole)

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
rwthler

Meshing of a 2D channel with additional inlet (small hole)

Post by rwthler »

Hi,
Since I successfully run my first mixing ellbow (from the tutorial) I now want to build my first own test case. I just want to model a 2D channel (10m length, 1m heigt) with flow from left to right and an additional 1m hole in the middle of the lower wall. This should be an additional inlet (as in the mixing ellbow tutorial).

I want to use the salome meshing tool and have problems with starting. So if I should post this in the salome forum instead of here, just give me a short notice.

I wanted to mesh as following:
constant length for the hole (1d) or even better with boundary layer option for a better wall resolution.
from the hole to the left and right with increasing step length (1d)
project the lower wall to the upper (1d projection)
mesh the in and outlet
build an ordered 2d mesh.

I do not really now which would be the correct procedure. Do I have to split the upper wall to the same manner as the lower wall, in order to project the 1d mesh?
Do I have to combine the lower wall (left, right and hole) to one mesh before projecting to the upper wall?

Thank you for your help, I hope I can learn for myself more and more, after having done the first steps with your help.

Chris
rwthler

Re: Meshing of a 2D channel with additional inlet (small hol

Post by rwthler »

ok, of course the idea with a wall boundary for the hole inlet is stupid, since it is just an inlet, and not geometrically formed..
rwthler

Re: Meshing of a 2D channel with additional inlet (small hol

Post by rwthler »

here is a pircture of the desired mesh and the geometry
Attachments
mesh_channel.jpg
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: Meshing of a 2D channel with additional inlet (small hol

Post by Yvan Fournier »

Hello,

That would be very easy to mesh with SALOME, even with a single box, using non-constant submesh refinement, and building groups for inlets and such using geometrical filters. An other way to do it would be to use a partition in the geometry (or build it as a compound)), to build groups first. Best choices may depend quite a bit on whether you wand a quick mesh or something you may automate better to easily change refinement and dimensions.

For advanced meshing with SALOME, the http://www.salome-platform.org Forum is the best place to go. Many of the answers you will get there may be in the form of scripts, though, and active members of that forum who may answer you might not be aware of Code_Saturne's postprocessing capabilities, such as parallel mesh joining.

So my recommendation would be to first skim through a few different SALOME meshing tutorials (If I understand correctly, you used the one from this website; There is a more generic tutorial on the SALOME website, of which some parts relative to geometry and meshing may show you different ways of doing things).

I would also just play around for an hour or two with SALOME, building simple geometries (boxes, cylinders, and a few boolean operations including those), not wasting time setting exact dimensions at first, and experimenting with meshing features, just to get a general idea of possibilities that might not be in tutorials. This may help you when you reason of how you will build your mesh.

Best regards,

Yvan
Post Reply