|
[Sponsors] |
May 12, 2011, 05:48 |
bubbleInterTrackFoam tutorial
|
#1 |
New Member
Kelvin Loh
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
Hi all,
Am still new to this free surface tracking solver, and I am trying to solve a similar problem as the one in the tutorial, but how do I change the size of the bubble to different initial diameters? Thanks. -kel85uk |
|
May 12, 2011, 08:32 |
|
#2 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
The surface tracking solvers (I think you refer to bubbleInterTrackFoam?) are based on seperates meshes for different phases. For changing the bubble diameter, you need a different mesh. The easiest way to do this, is to rescale an existing mesh, you can use the utility transformPoints for that.
|
|
May 16, 2011, 01:19 |
|
#3 |
New Member
Kelvin Loh
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
Hi Bernhard,
Thank you very much. Will try that and see. -kel85uk |
|
May 17, 2011, 03:52 |
|
#4 |
New Member
Kelvin Loh
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
Hi,
Another quick question. How would I go about re-meshing the problem since scaling only changes the dimensions, and I might want to change the number of cells? Many thanks. Regards, kel85uk |
|
May 17, 2011, 05:06 |
|
#5 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
You can either use the refineMesh utility or make a mesh yourself.
|
|
May 19, 2011, 07:15 |
|
#6 | |
New Member
Kelvin Loh
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
Quote:
Thank you. Regards, kel85uk |
||
May 19, 2011, 07:46 |
|
#7 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
You need to make two seperate meshes (can be done with blockMesh). Define the interface twice, for one fluid, call it freeSurface for the one, and freeSurfaceShadow for the other.
|
|
May 24, 2011, 00:32 |
|
#8 | |
New Member
Kelvin Loh
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
Quote:
As for blockMesh, how do I merge the two separate meshes? Is it also possible if I can do the meshing in Gambit and then import it to OpenFOAM via the fluentMeshToFoam utility? Thank you. Regards, kel85uk |
||
May 24, 2011, 02:53 |
|
#9 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
To understand how to use refineMesh, copy refineMeshDict from utilities/mesh/manipulation/refineMesh to your case directory.
You don't have to merge the edges in blockMesh. And I don't see why you cannot make the mesh in gambit. Just give it a try. As long as you are consistent with naming the patches on the interface. |
|
May 30, 2011, 07:41 |
|
#10 | |
New Member
Kelvin Loh
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
Quote:
Thank you for the guide, it works properly now in serial using the FLUENT meshes. Any idea how I can use decomposePar for this solver? I read in the OpenFOAM forums that the interface has to be in the master processor, and until now I have no clue as to how to make sure that is the case. Thanks again. Regards, Kelvin |
||
May 30, 2011, 07:51 |
|
#11 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
In decomposePar you have a subdictionary preservePatches. I've not tested this yet, but maybe this can help you. Please let me know if you get it done like this, because I'm also interested
|
|
May 31, 2011, 05:46 |
|
#12 |
New Member
Kelvin Loh
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
Hi Bernhard,
For the parallelization, it's easier to just use the manual decomposition method with funkysetfields to set the processor weights. However one more problem is with the fluidIndicator file. How do I create it? I searched the forums but they were unfortunately not very informative. Someone spoke about the setfluidindicator function but I have grepped it and found no files mentioning it in the src or even solver directories. http://www.cfd-online.com/Forums/ope...indicator.html Any ideas on how to proceed from here? Thanks. Regards, Kelvin |
|
June 1, 2011, 06:38 |
|
#13 |
New Member
Kelvin Loh
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
Hi Bernhard,
I finally got it to work. The fluidIndicator file is nothing more like the alpha1, so, one can easily set it using funkySetFields. After that, it'll work. -Kelvin |
|
June 18, 2012, 15:02 |
|
#14 |
New Member
xiang chai
Join Date: Aug 2009
Posts: 13
Rep Power: 17 |
Hi,
Can you explain the meaning of two seperate meshes. does it mean there is no connecting between these two meshese? for example, in my case that bubble rises in the water, there is a small gap between the grids occupied by water and grids for air. am i right? Chai |
|
December 21, 2012, 10:10 |
How create 2 separated meshes
|
#15 |
Member
Hanniel Freitas
Join Date: Jan 2012
Location: Natal, Brazil
Posts: 34
Rep Power: 14 |
Sorry for the ressurection of a old thread and making a question that might sound too simple, but how can I create 2 separated meshes with the blockMesh utility? Once I run blockMesh with the configurations os the new mesh, the old one is replaced... I think I'm missing the point here, can anyone explain me please?
|
|
December 21, 2012, 10:36 |
|
#16 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
Just put it in a single blockMeshDict. The vertices on the interface have to be defined twice, to make sure you get two patches. Then you create the patches freeSurface and freeSurfaceShadow.
|
|
December 21, 2012, 10:47 |
|
#17 |
Member
Hanniel Freitas
Join Date: Jan 2012
Location: Natal, Brazil
Posts: 34
Rep Power: 14 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tutorial for subcooled nucleate boiling | Asghari | FLUENT | 42 | December 10, 2018 12:42 |
Problem on Fluent Tutorial: Horizontal Film Boilig | Feng | FLUENT | 2 | April 13, 2013 06:34 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
STAR-CD Tutorial | shekhar aryal | STAR-CD | 4 | March 22, 2010 04:25 |