CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   how to build a zone? (https://www.cfd-online.com/Forums/fluent/139359-how-build-zone.html)

ringtail July 22, 2014 22:39

how to build a zone?
 
Hi, everyone
I have generated a 3D mesh, and I wanna to monitor flow paramters in a specified area. But this area is not any zone of the original mesh. So
how can I generate a mesh zone (not a surface) for such a specified area just for monitoring flow?

thanks in advance

sescobar July 22, 2014 23:19

You can separate a part of the domain by marking the region of interest and then separating either its cells or faces.
First mark the region using Adapt/Region, select the type of geometry and specify the parameters. Select mark, do not select adapt. This will create a marked register. If a hexahedron was selected the name of the mark region will most likely be hexahedron-r0. Now go to: mesh/separate cells and separate the mark register from your domain. This will create a new cell zone. If your domain name is int_fluid, then the new cell zone will be something like int_fluid::001.
You can now apply surface or volume integral monitors for each cell zone independently.

ringtail July 23, 2014 01:26

hi, sescobar,
thanks for your reply, it works.
yes, i seperated the domain to a new zone. but it also generated several new surfaces, as you said, such as int_fluid:001.
Is there any rules for the suffix of the name?
I wanna write a journal to execute several cases, so I have to make sure if the name changes randomly.

Quote:

Originally Posted by sescobar (Post 502726)
You can separate a part of the domain by marking the region of interest and then separating either its cells or faces.
First mark the region using Adapt/Region, select the type of geometry and specify the parameters. Select mark, do not select adapt. This will create a marked register. If a hexahedron was selected the name of the mark region will most likely be hexahedron-r0. Now go to: mesh/separate cells and separate the mark register from your domain. This will create a new cell zone. If your domain name is int_fluid, then the new cell zone will be something like int_fluid::001.
You can now apply surface or volume integral monitors for each cell zone independently.


sescobar July 23, 2014 11:49

I am not aware of the logic behind the numbering sequence of the surfaces in fluent. I have noticed that it is a function of the way the mesh is created. I have never done what you are trying to do. There is the possibility of listing the surfaces in your domain (surface/list-surface). If you compare the list before and after the separation you can determine the created surfaces and their correspondent index. A subroutine outside fluent could be written to create the journal files.
Your problem is quite interesting. Good luck!


All times are GMT -4. The time now is 10:52.