|January 10, 2014, 08:24||
First steps with OpenFoam..
Join Date: Jan 2014
Posts: 1Rep Power: 0
I am a new user of OpenFoam. I was looking the tutorials and more or less I would say I understand the examples. But my Problem is that when I have to start with a new Simulation or case, I have no idea how to start. I was reading in different Forums and I find them very useful but I can find only answers for more advanced questions.
Until now what I did is the next:
I had the geometry in Autodesk Inventor, I exported it as STEP to Salome and I did the meshing there. I exported that mesh to OpenFoam as unv file and I used ideasUnvToFoam to convert it to OpenFoam Format. Until here I think I did it well. But I have no idea how to continue...
I supose I have to choose the most similar case in the tutorials and modify it right? But do I Need to modify all the files? And for example, how can I introduce the new geometry I want to simulate to the case I am basing on?
Apart of the Problem of OpenFoam I am not a user of Linux so I don't know it very well...
I am really lost as you can see Could somebody help me? I just Need the very first and Basic steps, or if you know some tutorial, web page, example... to build new simulations... I would be really happy
Thank you in advance,
|January 13, 2014, 03:00||
Join Date: Jun 2011
Posts: 1,296Rep Power: 19
I am new as well and do the following:
I import the fluent mesh to openfoam by going to the folder (in the terminal) where my .msh file is and using "fluent3DtoFoam". This command will crash until all necessary files are in the current folder (such as the /system/controlDict file...).
Now once it works it will produce a /constant/polyMesh/... folder with some files.
The "/constant/polyMesh/boundary" file will tell you which boundary conditions you will need (the names of the walls, inlets, ...). Create a "/0" folder with all the boundary files you need (have a look at the tutorials). You will need "p" and "U" and then dependent on your turbulence model you will need "k" and "omega" for example.
You can have a look at the tutorials for the syntax.
In the "/constant" directory you also have to give information about the turbulence model (see tutorials). Then, all numerics is specified in the "/system" folder.
What you can do is just starting the solver you want to use (such as simpleFoam) in the folder of your case. It will ask you for all missing files. And also missing commands in the files!
The skeleton ran out of shampoo in the shower.
|January 13, 2014, 14:21||
Join Date: Oct 2012
Posts: 77Rep Power: 6
As for the rest, check the post above =)
|Thread||Thread Starter||Forum||Replies||Last Post|
|2D Mesh Generation Tutorial for GMSH||aeroslacker||Open Source Meshers: Gmsh, Netgen, CGNS, ...||12||January 19, 2012 04:52|
|Compiling OpenFOAM on hpc-fe.gbar.dtu.dk||kaergaard||OpenFOAM Installation||1||June 16, 2011 01:33|
|How to Install OpenFOAM on 64 Ubuntu 9.04||hansel||OpenFOAM Installation||62||March 19, 2010 15:43|
|First steps in OpenFOAM||StructureITA||OpenFOAM||4||May 2, 2009 11:00|
|OpenFOAM Training and Workshop||Hrvoje Jasak||Main CFD Forum||0||October 7, 2005 07:14|