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

How to separate zone using topoSet or other option for chtMultiRegionFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree3Likes
  • 3 Post By nimasam

Reply
 
LinkBack Thread Tools Display Modes
Old   October 14, 2014, 05:15
Default How to separate zone using topoSet or other option for chtMultiRegionFoam
  #1
Member
 
baran
Join Date: Aug 2014
Posts: 45
Rep Power: 4
baran_foam is on a distinguished road
Greeting all,
I want to create separate zone for polyMesh for chtMultiRegionFoam solver of complex geometry exported from gambit meshing software ...so using co-ordinate point in topoSet is not a good option.
So can you suggest how can i do this thing....I have no idea about this...


Regards,
baran
baran_foam is offline   Reply With Quote

Old   November 1, 2014, 13:19
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,978
Blog Entries: 39
Rep Power: 108
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Hi Baran,

I saw the private message you sent me and came to this thread.

You'll need to provide more details, because your question is too generic Keep in mind that people here on the forum are not able to see what you're seeing.

If you follow the instructions given here --> http://www.cfd-online.com/Forums/ope...-get-help.html <-- it will make it a lot easier to help you.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   November 2, 2014, 23:18
Default More clarfication of geometry
  #3
Member
 
baran
Join Date: Aug 2014
Posts: 45
Rep Power: 4
baran_foam is on a distinguished road
Greeting all,
I am trying to solve a case of cavity surrounded by two layer of insulation. Inside the cavity coiled heating element is placed for heat source which is shown in the attachments. This mesh is generated in gambit meshing software and then imported in openFoam by the command "fluentMeshToFoam".
AS geometry is complex..only heating element is shown for better understanding
https://www.dropbox.com/s/m8u1hn84gq08oeq/he.JPG?dl=0
https://www.dropbox.com/s/a15p16t949vot1c/he1.JPG?dl=0
So for this case using topoSet or any other option how to separate this zone for chtMultiRegionFoam case. But specifying co-ordinate points zone separation is not possible for this as it is given in tutorial.
What are the other way to solve this issue.. I have no idea about this thing. Can anyone have any idea regarding this problem??

Regards,
baran
Attached Images
File Type: jpg he.jpg (65.0 KB, 40 views)

Last edited by baran_foam; November 3, 2014 at 00:47.
baran_foam is offline   Reply With Quote

Old   November 28, 2014, 11:36
Default
  #4
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,215
Blog Entries: 1
Rep Power: 17
nimasam is on a distinguished road
Dear baran

still, your information is some how vague
you can define your zones in gambit and import it in OpenFOAM with:
Code:
fluentMeshToFoam -writeZones
if you want to split this zone then you should use following command
Code:
splitMeshRegions -cellZones
wyldckat, nithishgupta and Bahram like this.
__________________
Telegram channel (https://telegram.me/openfoam4Iranian)
My Weblog in Persian(http://openfoam.blogfa.com/)
My Personal Website (http://nimasamkhaniani.ir/)
nimasam is offline   Reply With Quote

Old   December 2, 2014, 04:26
Default
  #5
Member
 
baran
Join Date: Aug 2014
Posts: 45
Rep Power: 4
baran_foam is on a distinguished road
Greeting all,
@ nimasam ...thanks for your reply......It works for me ......But there is another issue i want to specify.....

I create a geometry and do meshing in gambit meshing software...After that i specify some number of disconnected volume under one volume such as "heating_element_volume" under which four disconnected volume is there...but when i was importing geometry in openFoam , for disconnected volume ... it is just reading one volume under this volume name...rest are created separately as per as there region name...
Like in "heating_element_volume" volume one is imported by the openFoam under this name... rest are created as Region2, Region3, Region4...

Do you have any idea about this issue...?


Thanks & regards,
baran
baran_foam is offline   Reply With Quote

Old   January 12, 2015, 10:37
Default
  #6
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 718
Rep Power: 15
vasava will become famous soon enough
Here is what I do to setup a case for chtMultiRegion*.* solvers.
  1. Make mesh with matching interface in Ansys Meshing.
  2. Import mesh to Fluent
  3. Fuse interfaces. This will create 'interior'. Rename the 'interior' so that it is easily identified in openfoam.
  4. Save fluent case. (Remember to un-check the binary option)
  5. Import the case and split mesh using fluentMeshToFoam and splitMeshRegions respectively.
These steps should give you n distinct regions for chtMultiRegion*.* solvers.
vasava is offline   Reply With Quote

Old   October 20, 2016, 04:25
Default Query zones created
  #7
Senior Member
 
Manu Chakkingal
Join Date: Feb 2016
Location: Delft, Netherlands
Posts: 112
Rep Power: 3
manuc is on a distinguished road
Dear all,

As suggested in this thread:
1. Generated geometry in Ansys WB ( all bodies frozen) and tool bodies preserved after boolean
2. Grouped the bodies as a part to ensure interface mesh matching.

3.in ANSYS Mesh I found no interfaces. Meshed all bodies.
Named collection of solid bodies as solid (using volume selection and doing named selection)
Named remaining body as fluid

4. Imported it in fluent no option for coupling , but a surface and its shadow (wall type0 available)
Exported case file.
5. IN OPENFOAM used command
fluentMeshToFoam *.cas-writeZonesIt generated files in polymesh
6.USed
splitMeshRegions -cellZones -overwriteIt created fluid and solid folders in '0/'
In addition have folders called domain.
I dont understand why these addition folders are present

I have attached my constant and 0 folder herewith. (BC conditions not correct.)
https://drive.google.com/open?id=0B6...3FUQWJTRUJRam8
__________________
Regards
Manu
manuc is offline   Reply With Quote

Old   October 20, 2016, 04:48
Default
  #8
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 718
Rep Power: 15
vasava will become famous soon enough
Your case has 2D mesh and openFoam does not support 2D meshes. To create a 2D case in openFoam you need a mesh with some thickness (atleast 1 element).

You can try again and let us know if it worked.
vasava is offline   Reply With Quote

Old   October 20, 2016, 06:55
Default
  #9
Senior Member
 
Manu Chakkingal
Join Date: Feb 2016
Location: Delft, Netherlands
Posts: 112
Rep Power: 3
manuc is on a distinguished road
Dear Vasava

I tried it for 3d geo aswell. It still creates more domains. I my case I had 5 cylinders as solids. I named the cylendertogether as cyl. in ANSYS. In openfoam it creates a domain with name cyl and 4 domains with name domain 1,2,4,5 .

I think that the cylinder group sint made into a single domain.

Isnt it possible to groups those (5 cylinders in presnt case but it can go high to 250) into a single domain

Bye the way the mesh I hgeneratedfor 2D case earlier when imported in openfoam was itlsef projected in z direction and front and back planes BC was alloted by itself (by mfluentMeshtoFOAm). So I think its not an issue with geo being 2d ealrier, But still to ensure I tried it with 3D geo
__________________
Regards
Manu
manuc is offline   Reply With Quote

Old   October 21, 2016, 00:54
Default
  #10
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 718
Rep Power: 15
vasava will become famous soon enough
Can you post your 3D mesh, I can have a look.
vasava is offline   Reply With Quote

Old   October 21, 2016, 04:59
Default
  #11
Senior Member
 
Manu Chakkingal
Join Date: Feb 2016
Location: Delft, Netherlands
Posts: 112
Rep Power: 3
manuc is on a distinguished road
Dear Vasava

Please find the mesh here
https://drive.google.com/open?id=0B6...lZIU29DRk84bE0
__________________
Regards
Manu
manuc is offline   Reply With Quote

Old   October 21, 2016, 05:47
Default
  #12
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 718
Rep Power: 15
vasava will become famous soon enough
Quote:
Originally Posted by manuc View Post
I dont understand why these addition folders are present.
These folders are generated by splitMeshRegions command. As the name suggests, the command splits meshes in to multiple regions that are separated by interfaces.

For conjugate heat transfer this is necessary because unlike fluent, openFoam CHT solvers treats each sub-domain individually. I assume you know how Conjugate Heat transfer cases are set in openFoam.

If you want multiple domain to appear as one (just like fluent) you can try this trick (there is no guarantee but worth a try).
  1. In Ansys meshing select the domains and use name selection to name the group as 'cyl'. This is just like selecting multiple walls and naming them as walls. Instead of walls here you select domains.
  2. Export mesh and continue.
vasava is offline   Reply With Quote

Old   October 21, 2016, 05:50
Default
  #13
Senior Member
 
Manu Chakkingal
Join Date: Feb 2016
Location: Delft, Netherlands
Posts: 112
Rep Power: 3
manuc is on a distinguished road
This named selection is what I tried..when converted using split regions it assigns the name to a single cylinder and names the other cylinder as region *..it doesn't keep the group name
__________________
Regards
Manu
manuc is offline   Reply With Quote

Old   October 21, 2016, 06:07
Default
  #14
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 718
Rep Power: 15
vasava will become famous soon enough
Try renaming all the solids to 'cyl'.

Also, what CAD program are you using to generate geometry?
vasava is offline   Reply With Quote

Old   October 21, 2016, 06:25
Default
  #15
Senior Member
 
Manu Chakkingal
Join Date: Feb 2016
Location: Delft, Netherlands
Posts: 112
Rep Power: 3
manuc is on a distinguished road
I use ansys design modeller
__________________
Regards
Manu
manuc is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 14:32
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
CFX-Pre problem, pls help!!! cth_yao CFX 0 February 17, 2012 01:52
CFX doesn't continue calculation... mactech001 CFX 6 November 15, 2009 22:25
transient simulation of a rotating rectangle icesniffer CFX 1 August 8, 2009 07:25


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