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

[CAD formats] How can i export CAD file and make a mesh?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 20, 2019, 11:33
Default How can i export CAD file and make a mesh?
  #1
New Member
 
Leegunho
Join Date: Jul 2019
Posts: 11
Rep Power: 6
kim4545 is on a distinguished road
Hello Foamers. I'm university student from Korea

I'm designing a Supersonic Wind tunnel which will be used in my professor's lab.

I've already made a CAD modeling for supersonic nozzle for Mach number 3, 4.5, 6 with CREO

I want to simulate these nozzles with OpenFoam to see whether the outlet Mach number matches the design test section Mach number for the boundary condition of inlet pressure, outlet pressure.

To see the boundary layer viscous effect and make a correction for the nozzle, i want to export my CAD file and make a mesh with it.

I'm totally new in OpenFoam, so could you recommend me an advice or tutorials for it?

I'll attach jpg file of my CAD design for nozzle.
(Cross section view. left side is inlet and right side is outlet)

Sorry for my bad English :<
Attached Images
File Type: jpg nozzle2.JPG (36.6 KB, 16 views)
kim4545 is offline   Reply With Quote

Old   July 21, 2019, 02:19
Default
  #2
New Member
 
Join Date: Jul 2019
Posts: 3
Rep Power: 6
Aepinus is on a distinguished road
Hello Kim,

are you also completely new in CFD ? I would recommend to begin with the basic and not with subsonic and supersonic flow. Start with incom. Flows and Tutorials. Try to understand what is important on a mesh. https://www.openfoam.com/documentation/tutorial-guide/ . Then go back to your original problem. Best Regards
Aepinus is offline   Reply With Quote

Old   July 28, 2019, 10:47
Default
  #3
New Member
 
Join Date: Feb 2019
Posts: 15
Rep Power: 7
Kondorfa is on a distinguished road
The CAD software you use, needs to provide the possibility to export the nozzle as a mesh. I usually use the *.obj file format. *.stl should also work.


Sometime I use the free software MeshLab to turn, scale of move the resulting mesh output from the CAD software.


You can open such an *obj or *.stl file in paraView to check how it fits into a domain you created beforehand e.g. by the blockMesh utility.


Then you need to store the mesh in the constant/triSurface folder and use snappyHexMesh. This requieres quite some time to have snappyHeymesh do what you wnat it to do, but it is worth it.



Best,
K.
Kondorfa is offline   Reply With Quote

Old   July 28, 2019, 14:32
Default
  #4
New Member
 
Leegunho
Join Date: Jul 2019
Posts: 11
Rep Power: 6
kim4545 is on a distinguished road
THANKS

I learned how to mesh the geometry designed from CREO or other CAD.

Now i'm stuck with some other problems like Meshing or Initialization.

I'm going to learn step by step.

Again thanks for your reply.
kim4545 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
[swak4Foam] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 80 May 17, 2022 08:06
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 03:30
[swak4Foam] Installation Problem with OF 6 version Aurel OpenFOAM Community Contributions 14 November 18, 2020 16:18
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 17:34
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 06:42


All times are GMT -4. The time now is 03:39.