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

chtmultiregion(foam)/(SimpleFoam) with mesh imported from Fluent??

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By vasava
  • 1 Post By vasava

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 4, 2014, 03:00
Default chtmultiregion(foam)/(SimpleFoam) with mesh imported from Fluent??
  #1
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23
vasava will become famous soon enough
I have been trying to setup a heat transfer case with multiple domains using chtmultiregionfoam solver. First I ran the tutorials 'multiRegionHeater' and 'multiRegionHeaterRadiation' and using the idea I tried to run my own case. The case is simple the outermost fluid is hot which heats up a pipe and the pipe heats up the cold fluid passing through it.

Here is what I did.
1. Import 3 meshes from fluent.
2. Create respective folders for all the domains in 0/, constant/ and system/ folders.
3. Run chtmultiregionfoam.

My case runs fine until sometime then crashes with error about solving temperature. Here are some questions I have. Although any other suggestion is welcome.

1. Do I need to write 'topoSetDict', 'makeCellSets.setSet' and 'changeDictionaryDict' files for mesh imported from fluent?

2. Since my meshes are imported from fluent I do not have the files 'boundaryRegionAddressing', 'cellRegionAddressing', 'faceRegionAddressing' and 'pointRegionAddressing' in the polymesh folder. Do I have to have these files?

I am very confused and have tried so many boundary conditions but nothing seems to help. Any help of guidance is welcome.

I can not share the meshes but here are my setup files.
Attached Files
File Type: zip 3domains_chtMultiRegionFoam.zip (35.6 KB, 9 views)
File Type: zip 3domains_chtMultiRegionSimpleFoam.zip (70.8 KB, 7 views)
vasava is offline   Reply With Quote

Old   March 4, 2014, 05:02
Default
  #2
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23
vasava will become famous soon enough
I followed procedure suggested by waiter120 in this thread.

1. Prepare mesh in ICEM CFD with all name selections
2. Export it to FLUENT_V6 (for my present experience, you don’t need specify BC in Output -> Boundary Condition (If I am wrong, please correct me))
3. Read mesh in FLUENT
4. Modify names of BC
4a. If you case is multi region (like chtMultiregionFoam). In FLUENT change type of coupled wall. From Wall to Interior (+ add interior- prefix to its name)
5. Change write-type to ascii “file/ binary-files? no”
6. Write .cas file
7. In OpenFOAM work directory
7a. fluentMeshToFoam –wrireZones fluent.cas
7b. splitMeshRegions -cellZones -overwrite


The trick worked fine for me and I could produce the mesh and the partitions with 'boundaryRegionAddressing', 'cellRegionAddressing', 'faceRegionAddressing' and 'pointRegionAddressing' in the polymesh folders.

I am now trying to solve the heat transfer issues.

Please feel free to comment and send advise if you have any.
Ramzy1990 and marcoberna23 like this.
vasava is offline   Reply With Quote

Old   March 4, 2014, 06:51
Default
  #3
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23
vasava will become famous soon enough
The trick to convert the interface to interior goes like this. First delete the interface this will create two interfaces with extension 'src' and 'trg'. Then fuse the interfaces with extension 'src' and 'trg' which will create a new interior.
Ramzy1990 likes this.
vasava 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
The fluent stopped and errors with "Emergency: received SIGHUP signal" yuyuxuan FLUENT 0 December 3, 2013 23:56
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
[ICEM] Export ICEM mesh to Gambit / Fluent romekr ANSYS Meshing & Geometry 1 November 26, 2011 13:11
Possible Bug for Imported Mesh Marta OpenFOAM 0 October 25, 2011 10:23
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55


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