CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Meshing & Mesh Conversion (
-   -   Change Front and back???? (

vahid.najafi November 1, 2012 01:32

Change Front and back????
Hi dear foamers.

I have a problem,please help me to solve it. :)

I transfer my 2D geometry from gambit to OpenFoam Successfully.

but i have this question that:
I know that if in B.C front and back is empty my solve is 2D!!!but I want to have 6m depth in direction Z????
Can i change B.C front and back for this reason???
How to do this work???

Thanks for your attention.

nimasam November 1, 2012 02:40

when it is 2D, so why do you want to give special depth to it?
However you can change aspect ration or scale of your import geometry with:


transportPoint -scale '(0.001 0.1 1)'

vahid.najafi November 1, 2012 03:42

Thanks for your answer.
transportPoint -scale '(0.001 0.1 1)'???
where do add this line???

I ploted 2D geometry in gambit: 6m*1cm ) ,but really my Dimensions Geometry is :1m*6m*1cm.

Now i want to my run has 1m for depth it.
for me it is easier that used 2D run Instead 3D model!!!!

please tell me, how can i do this???
Thanks for your attentions.

nimasam November 1, 2012 03:59

after importing your mesh, you can scale it with above command in terminal!
of course you should choose appropriate scale for your geometry

All times are GMT -4. The time now is 07:49.