CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] Change Front and back????

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By nimasam

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 1, 2012, 01:32
Default Change Front and back????
  #1
Member
 
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 13
vahid.najafi is an unknown quantity at this point
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.
vahid.najafi is offline   Reply With Quote

Old   November 1, 2012, 02:40
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
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:

Code:
transportPoint -scale '(0.001 0.1 1)'
vahid.najafi likes this.
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   November 1, 2012, 03:42
Default Thanks for your answer.
  #3
Member
 
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 13
vahid.najafi is an unknown quantity at this point
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.
vahid.najafi is offline   Reply With Quote

Old   November 1, 2012, 03:59
Default
  #4
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
after importing your mesh, you can scale it with above command in terminal!
of course you should choose appropriate scale for your geometry
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] Wedge patch '*' is not planar LilumDaru OpenFOAM Meshing & Mesh Conversion 7 September 18, 2024 06:52
[mesh manipulation] creating circular inlet on sqare wall fantasteak OpenFOAM Meshing & Mesh Conversion 3 March 24, 2016 11:57
[snappyHexMesh] Can't couple front & back faces in cyclic BC after snapping in SHM hakonbar OpenFOAM Meshing & Mesh Conversion 4 December 8, 2013 17:50
Secondary phase move back ssamton FLUENT 0 March 19, 2012 20:31
OpenFOAM wonbt solve the momentum U equation sek OpenFOAM Running, Solving & CFD 5 March 6, 2008 17:27


All times are GMT -4. The time now is 16:12.