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

transfering from fluent to openfoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 2, 2010, 21:14
Default transfering from fluent to openfoam
  #1
New Member
 
Christos
Join Date: Apr 2010
Posts: 6
Rep Power: 16
T3rmInAt0r is on a distinguished road
hello guys, I am new to CFD community and I would need your experience for something (maybe) too trivial, but because of my level please forgive me.

I have a mesh file, whom I am trying to import into OpenFOAM 1.6

I followed (maybe not 100% sure) http://openfoamwiki.net/index.php/Fluent3DMeshToFoam in order to have the respective mesh file.
Now I would like to set some boundary conditions and run the icoFOAM solver. I know that I can do it by hand, but I am wondering whether there is any "easier" way to set it without editing files since it is extremely error-prone.

[I am thinking like Fluent-way, create mesh, set boundary, run simulation. it is the same here. right? - or what else would I need in order to have a parallel simulation starting from the previous mesh file]

Thanx all in advance
T3rmy
T3rmInAt0r is offline   Reply With Quote

Old   June 3, 2010, 09:16
Default
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by T3rmInAt0r View Post
Now I would like to set some boundary conditions and run the icoFOAM solver. I know that I can do it by hand, but I am wondering whether there is any "easier" way to set it without editing files since it is extremely error-prone.
No, you have to edit the files. Take a look at constant/polyMesh/boundary to know the names of the BC's, and set them accordingly in your 0 folder.

Quote:
[I am thinking like Fluent-way, create mesh, set boundary, run simulation. it is the same here. right? - or what else would I need in order to have a parallel simulation starting from the previous mesh file]
Yes, it's the same, but with a different approach. That's not "FLUENT-like", you do that with whatever code.
If you want, you can write a script in whatever language you prefer (bash, m4, ...) to generate your blockMeshDict, and your initial conditions files once for all, if you plan to do a parametric study or a grid refinement study.

How to run cases in parallel is explained in the damBreak tutorial in the user's guide.

Best,
Alberto
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.

Last edited by alberto; June 3, 2010 at 09:17. Reason: Completed information
alberto is offline   Reply With Quote

Old   June 4, 2010, 17:43
Default
  #3
Member
 
Jason G.
Join Date: Sep 2009
Location: St. Louis, IL
Posts: 89
Rep Power: 16
JasonG is on a distinguished road
I have been experimenting with another 3rd party program called "Engrid". This will import an ascii "*.msh" file, and allow the user to pick the boundary conditions and then directly write to the OpenFOAM file structure.
JasonG is offline   Reply With Quote

Old   June 4, 2010, 20:32
Default
  #4
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by JasonG View Post
I have been experimenting with another 3rd party program called "Engrid". This will import an ascii "*.msh" file, and allow the user to pick the boundary conditions and then directly write to the OpenFOAM file structure.
Good. But slowly learn to use the text files. It is not that hard, and it makes you more familiar with the code, independently from what you'll use everyday.

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   June 5, 2010, 06:20
Default
  #5
Member
 
Jason G.
Join Date: Sep 2009
Location: St. Louis, IL
Posts: 89
Rep Power: 16
JasonG is on a distinguished road
Quote:
Originally Posted by alberto View Post
Good. But slowly learn to use the text files. It is not that hard, and it makes you more familiar with the code, independently from what you'll use everyday.

Best,
Yes. I agree. I like having a deeper understanding of how the code is processed and what is actually occurring.
JasonG is offline   Reply With Quote

Old   June 5, 2010, 11:30
Default thanx so far
  #6
New Member
 
Christos
Join Date: Apr 2010
Posts: 6
Rep Power: 16
T3rmInAt0r is on a distinguished road
I would like to thank sincerely all of you for your answers. The main reason that I would like to have this kind of software is to compare the "handwritting" with the "derived" version and check if I had done everything correctly. Of course I agree up to the point that editing gives insight and knowledge but at the starting point, where I am, personally I believe is the best way out.

Once again thanx all and waiting more proposals (if any)
T3rmy
T3rmInAt0r 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
[Commercial meshers] Conversion Fluent cas and dat file to OpenFoam matteo_gautero OpenFOAM Meshing & Mesh Conversion 11 July 14, 2020 12:09
Which Linux Distro for OpenFOAM and Fluent jason.ryon OpenFOAM 9 December 8, 2010 18:31
Fluent elbow in Openfoam chemeng OpenFOAM 1 January 21, 2010 03:52
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56
Matching Velocity and Pressure fields Fluent OpenFoam alimansouri OpenFOAM Running, Solving & CFD 0 January 13, 2009 17:51


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