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

Solving openfoam simulation from scratch

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 1, 2023, 18:00
Default Solving openfoam simulation from scratch
  #1
New Member
 
Emre
Join Date: Sep 2023
Posts: 3
Rep Power: 3
ecetinkaya is on a distinguished road
Hello, I'm new to openfoam and I want to do a solution with HISA(High Speed Aerodynamic Solver), but there are a few things I don't understand. First of all, I'm sorry if my question is too simple, but I couldn't find a solution via google.

My aim is to create a 2D nozzle geometry and do a good mesh work and solve it. For this, as far as I can see, there is no option to create geometry in openfoam, so different CAD programs should be used. For example, I created my geometry through Autodesk Inventor, but in order to export this geometry from the program, I need to make it 3D, but I do not want this. Even if I make it 2D and import it somehow, I need to export the inlet outlet regions separately in order to throw it into openfoam, but I don't understand how to do this for a 2D geometry. For example, should I draw only the nozzle and export it, or should I draw the flow area as well? Even if I do this and export, I couldn't find how to save it separately as an inlet outlet. I also tried this via freeCad, but I couldn't find an example there that was made in 2D. I know that Openfoam converts the geometry to 3D afterwards, but does that mean it's okay for me to draw the geometry in 3D? I need a clear way to import and adapt geometry to openfoam in two dimensions.

Another thing I don't fully understand. Let's say I did everything, the mesh phase is over. In the videos I saw for the solution, everyone is copying the files of a similar example, adapting the values to themselves and decoding them. Is this what I should do too?
ecetinkaya is offline   Reply With Quote

Old   September 2, 2023, 14:03
Default
  #2
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 802
Blog Entries: 1
Rep Power: 19
dlahaye is on a distinguished road
OpenFoam has no operations to convert a 2D geometry to a 3D geometry.

OpenFoam works on the mesh directly (it reads the mesh from the constant/polymesh directory).

You can learn OpenFoam from copying examples or by reading up on the theory and implementation.

Pls. get in touch with more specific questions.
dlahaye is offline   Reply With Quote

Reply

Tags
openfoam., openfoamgeometry.


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
foam extend solid contact simulation blow up CRI_CFD OpenFOAM CC Toolkits for Fluid-Structure Interaction 4 February 28, 2023 05:54
Problem with chtMultiregionFoam radiation boundary condition baran_foam OpenFOAM Running, Solving & CFD 10 December 17, 2019 18:36
conjugate heat transfer in OpenFOAM skuznet OpenFOAM Running, Solving & CFD 99 March 16, 2017 06:07
simpleFoam error - "Floating point exception" mbcx4jc2 OpenFOAM Running, Solving & CFD 12 August 4, 2015 03:20
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 05:03


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