|
[Sponsors] |
bubblefoam totally failed on unstructured mesh. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 6, 2012, 02:34 |
bubblefoam totally failed on unstructured mesh.
|
#1 |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 849
Rep Power: 18 |
Sorry, but yes, I have to concede that bubblefoam totally cant run on an unstructured mesh.
I even dont need to attach my case. Just generate any simple cyclinder with an inlet,wall,outlet with an unstructured mesh. and run bubblefoam or twophaseeulerfoam. bang!!......blowing up! anyway,Thats is not my expected,I want a plausible suggestion how to prevent blowing up. |
|
December 6, 2012, 04:14 |
|
#2 |
Member
Michiel
Join Date: Oct 2010
Location: Delft, Netherlands
Posts: 97
Rep Power: 16 |
If you want people to solve a problem for you, you should provide much much more details.
So you DO have to upload your case, because nobody is going to take the effort of making a mesh and running a simulation just to see what you mean. If you show that you have put some effort into thinking about the issue and trying to solve it and share this information, then somebody might be willing (and be able) to help you. |
|
December 6, 2012, 04:28 |
|
#3 |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 849
Rep Power: 18 |
Hi Michiel:
Thank you very much for my consideration. actually I have done lots of works about bubblefoam, even all of them are extremely simple ones. http://www.cfd-online.com/Forums/ope...tml#post396032 in this thread I tried use structured mesh on bubblefoam but failed, so I have to use unstructured mesh.then.... http://www.cfd-online.com/Forums/ope...behaviour.html in this thread I have tried unstructured mesh on twoPhaseEulerFoam,or bubblefoam,it cant get convergence. untill now I dont know if bubblefoam can handle unstructured mesh... I cant upload my case because the fluent.msh is large.... but I can upload a image. its a very simple case. if anyone can generate a mesh then just put it in mycase folder,the fluentMeshToFoam fluent.msh, setFields . bubbleFoam.. you will see the result. everytime I receive an Email, I would be more closer to my success...thats exciting. |
|
December 10, 2012, 02:29 |
|
#4 |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 849
Rep Power: 18 |
Thats quite weird, is there anyone tried an unstructured mesh on bubblefoam?
|
|
December 14, 2012, 07:32 |
|
#5 |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 849
Rep Power: 18 |
nobody is here?...
|
|
December 14, 2012, 08:34 |
|
#6 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
get a dropbox account and put the mesh there.
why do you have different inlet velocities for the phases? |
|
December 14, 2012, 09:25 |
|
#7 | |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 849
Rep Power: 18 |
Quote:
https://hotfile.com/dl/184355810/d49...p.html?lang=en https://hotfile.com/dl/184356440/5e7...p.html?lang=en you can run it directly as of I have set the alpha field and generated the mesh.: twoPhaseEulerFoam U1 is the gas velocity , U2 is the liquid velocity, there is only air get in the column,so U2 inlet is zero. If you can give me any assistance I would be very appreciated. |
||
December 14, 2012, 10:49 |
|
#8 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
doesnt work. hotfile is terrible.
cant download and now it says im downloading and I can only download 1 at a time. |
|
December 15, 2012, 00:08 |
|
#9 | |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 849
Rep Power: 18 |
Quote:
https://www.dropbox.com/s/1v6n8cf39n...structured.zip https://www.dropbox.com/s/mguy6w6gm9...structured.zip |
||
December 18, 2012, 01:52 |
|
#10 |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 849
Rep Power: 18 |
Looks like only FOAM developers can tackle this problem?...
|
|
December 18, 2012, 02:41 |
|
#11 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
the main problem is the mesh-quality at the interface. I would try to remake the mesh, slightly finer and also to add some outer corrections instead of running in piso mode.
I dont know if that is sufficient, but its impossible to get it working with that mesh. |
|
December 18, 2012, 04:37 |
|
#12 | |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 849
Rep Power: 18 |
Quote:
um...maybe twophaseeulerfoam in next edition of OpenFOAM would be better on dealing with this mesh problem.? But I dont have much time to wait..... |
||
December 18, 2012, 04:49 |
|
#13 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
add this to controlDict and watch what happens to the velocities
Code:
functions { extraInfo { type coded; functionObjectLibs ( "libutilityFunctionObjects.so" ); redirectType average; code #{ const volVectorField& U1 = mesh().lookupObject<volVectorField>("U1"); const volVectorField& U2 = mesh().lookupObject<volVectorField>("U2"); Info << "max U1 = " << max(mag(U1)).value() << ", U2 = " << max(mag(U2)).value() << endl; const volScalarField& p = mesh().lookupObject<volScalarField>("p"); Info << "p min/max = " << min(p).value() << ", " << max(p).value() << endl; #}; } } |
|
December 24, 2012, 23:42 |
|
#14 |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 849
Rep Power: 18 |
Dear Niklas,
yeah, thats help, somthing wired about velocity fields. but finally,I dont know how to run bubblefoam or twophaseeulerfoam on that mesh. is this regarding to the model itself? if its ture. that is far beyond my ability. |
|
December 26, 2012, 10:12 |
|
#15 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Use the "upwind" scheme for the divergence term of U1 and U2, and use the "uncorrected" option for Laplacians and snGrad. Also, fix the maximum time step to a much lower value than 1s, to avoid too strong fluctuations in the time-step.
I attach the files I used, and it ran up to 0.18s, then I stopped. P.S. There is no reason to use an unstructured mesh with such a simple geometry :-)
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
December 26, 2012, 10:16 |
|
#16 | |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 849
Rep Power: 18 |
Quote:
|
||
December 26, 2012, 11:34 |
|
#17 | |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 849
Rep Power: 18 |
Quote:
BTW,I really admire what you have done in CFD research. |
||
December 26, 2012, 11:45 |
|
#18 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
You should improve your mesh resolution if you want to obtain reliable results.
P.S. Alberto works just fine, no need of titles ;-)
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
December 26, 2012, 11:48 |
|
#19 |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 849
Rep Power: 18 |
||
December 26, 2012, 11:50 |
|
#20 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
May I know why you are trying to use a tetrahedral mesh?
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
Mesh motion with Translation & Rotation | Doginal | CFX | 2 | January 12, 2014 07:21 |
Unstructured Mesh ICEM on a cube | jerome_ | ANSYS | 0 | May 30, 2012 06:34 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 22:11 |