|
[Sponsors] |
June 1, 2005, 06:46 |
Aah, my mistake. I was wonderi
|
#21 |
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21 |
Aah, my mistake. I was wondering where g was hiding.
Still, the pressure does behave strangely toward the bottom of the outlet and the removal of gravity makes the problem as described above go away. I will have another look at the formulation when I have some time. |
|
June 1, 2005, 06:55 |
Belay that, after a second loo
|
#22 |
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21 |
Belay that, after a second look I dont believe there is anything wrong at or near the outlet.
|
|
June 1, 2005, 07:07 |
Dear Mattijs,
thanks for the
|
#23 |
Member
|
Dear Mattijs,
thanks for the help. I tried to compile the new zipUpMesh, but I experienced problems (the compilation of the old zipUpMesh executable was instead straightforward). I obtained the following errors after issuing wmake: Making dependency list for source file zipUpCells.C Making dependency list for source file zipUpMesh.C SOURCE_DIR=. SOURCE=zipUpCells.C ; g++ -m64 -DlinuxAMD64 -Wall -W -Wno-unused-parameter -march=opteron -O3 -ffast-math -fno-gcse -DNoRepository -ftemplate-depth-30 -I/home/michele/OpenFOAM/OpenFOAM-1.1/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -c $SOURCE -o Make/linuxAMD64Opt/zipUpCells.o zipUpCells.C: In member function `void Foam::polyMesh::zipUpCells()': zipUpCells.C:134: error: `WarningIn' undeclared (first use this function) zipUpCells.C:134: error: (Each undeclared identifier is reported only once for each function it appears in.) make: *** [Make/linuxAMD64Opt/zipUpCells.o] Error 1 However, if you are interested on a test mesh, the following link is that of the case under discussion: www.lem3.it/tests/waves_050601/waves.tar.gz Michele. PS. Henry, I've just started a simulation with low order approximations, walls whose condition was set to 2 m/s (in rasInterFoam is not coded the slipWall condition, am I right?), and compression coefficient for gamma of 1.0. I will obtain results in about 3 hours... |
|
June 1, 2005, 07:29 |
Hi Michele,
Sorry, didn't t
|
#24 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Hi Michele,
Sorry, didn't try it under 1.1. Replace in zupUpCells.C WarningIn("XXXX") with Warning<< "XXXX" |
|
June 1, 2005, 09:10 |
Dear Henry:
>> Why do you t
|
#26 |
Member
|
Dear Henry:
>> Why do you think there is a problem with the oulet pressure BC? Remember we are solving for pd which is p - rho*g*h, i.e. is constant with depth at the outlet. Excuse me, Henry, isn't pd = p - g*h ? I expect for pd the dimensions [m^2/s^2], am I correct? Another question about the pressure. I'm interested in computing the pressure around floating bodies (and integrate pressure and viscous/turbulent stress over surfaces in order to obtain overall forces). It is rather complicated to obtain pressure: if I use the expression p = pd + gh, h is not a constant as it depends on the wave elevation above each point. That is to say that p = pd + int(-gamma*g, ds) an integral to be computed along the g direction (gamma is zero in air and one in water, introduced in order to capture the surface). But below a floating body it is impossible to integrate up to a free surface (this space is occupied by the floating body itself!). Have you any suggestion? Ragarding the simulation, I'm making the run with the parameters you suggested. However my impression is the following: it seems to me that boundary conditions don't pose any problem on the solution: all the instability grows well after the flow enters the domain. It resembles more a turbulence generated instability... By the way, I would like to get the eddy viscosity among the output results... is it automatically possible or does this require coding? |
|
June 1, 2005, 09:49 |
> Excuse me, Henry, isn't pd =
|
#27 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
> Excuse me, Henry, isn't pd = p - g*h ?
No pd = p - rho*(g.h) and you can calculate p from pd using this expression. Notice the dimension of pd: dimensions [1 -1 -2 0 0 0 0]; h is the the position vectors of the cell centres and g is the gavitational force vector. You can get the eddy viscosity from the turbulence model and write it out. |
|
April 2, 2006, 09:24 |
Hello,
I also have a simila
|
#28 |
Member
nicolas
Join Date: Mar 2009
Location: Glasgow
Posts: 42
Rep Power: 17 |
Hello,
I also have a similar problem at the inlet of my 3d domain. As shown in the following pictures (with isosurface at gamma=0.5) (t=0.03), soon after the start of the computation, a 'wave' is developing near the inlet, and gets bigger and bigger. meshCheck is ok. my boundaries pd: boundaryField { inlet { type zeroGradient; } inlet:002 { type zeroGradient; } outlet { type zeroGradient; } bottom { type zeroGradient; } top { type totalPressure; p0 uniform 0; value uniform 0; } right { type zeroGradient; } hull { type zeroGradient; } sym { type zeroGradient; } } U: boundaryField { inlet { type fixedValue; value uniform (0.5 0 0); } inlet:002 { type fixedValue; value uniform (2 0 0); } outlet { type zeroGradient; } top { type pressureInletOutletVelocity; phi phi; rho rho; value uniform (0 0 0); } bottom { type fixedValue; value uniform (0 0 0); } sym { type fixedValue; value uniform (0 0 0); } right { type fixedValue; value uniform (0 0 0); } hull { type fixedValue; value uniform (0 0 0); } } |
|
April 2, 2006, 14:38 |
As I said before, OF is not re
|
#29 |
Senior Member
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 17 |
As I said before, OF is not ready for open channel yet. At least the inlet and outlet boundary conditions will cause problem.
__________________
Xiaofeng Liu, Ph.D., P.E., Assistant Professor Department of Civil and Environmental Engineering Penn State University 223B Sackett Building University Park, PA 16802 Web: http://water.engr.psu.edu/liu/ |
|
April 2, 2006, 20:56 |
Hi liu,nicolas
i did numeri
|
#30 |
Senior Member
kumar
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
Hi liu,nicolas
i did numerical simulations of a 2d hydrofoil in a channel. my preliminary results are 100% ok. i also had issues with the correct BC. but the VOF works for open channel flows. nicolas , please see my posts rasInterFoam - STRANGE RESULTS AT BOUNDARY . after i incorporated Hrv's suggestions my simulations went smooth regards kumar |
|
April 3, 2006, 11:47 |
Hi, kumar,
Which post are you
|
#31 |
Senior Member
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 17 |
Hi, kumar,
Which post are you refering to? I can't find it. Can you upload your case? I am so interested to see where I did wrong. Thank you.
__________________
Xiaofeng Liu, Ph.D., P.E., Assistant Professor Department of Civil and Environmental Engineering Penn State University 223B Sackett Building University Park, PA 16802 Web: http://water.engr.psu.edu/liu/ |
|
April 3, 2006, 14:22 |
It's here
http://www.cfd-onli
|
#32 |
Member
nicolas
Join Date: Mar 2009
Location: Glasgow
Posts: 42
Rep Power: 17 |
||
April 3, 2006, 14:25 |
oops, actually it s this one
|
#33 |
Member
nicolas
Join Date: Mar 2009
Location: Glasgow
Posts: 42
Rep Power: 17 |
||
April 4, 2006, 04:07 |
I have checked the thread, but
|
#34 |
Member
nicolas
Join Date: Mar 2009
Location: Glasgow
Posts: 42
Rep Power: 17 |
I have checked the thread, but i do something similar in my case. My problem is at the inlet and not at the outlet.
|
|
July 4, 2006, 10:06 |
Can anyone supply or point me
|
#35 |
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21 |
Can anyone supply or point me toward an implementation of outlet boundary conditions for free surface wave transmission?
|
|
November 5, 2007, 10:27 |
Hallo,
I have the following
|
#36 |
New Member
Karl-Heinz Leitz
Join Date: Mar 2009
Posts: 16
Rep Power: 17 |
Hallo,
I have the following problem: I have a solid surrounded by air that moves from the left to the right with a constant velocity. However I get a very high pressure wave on the interface solid-air at the inlet and at the outlet. I have the feeling, that something with the boundary conditions is wrong. Can anybody give me a hit what the problem could be? Regards, Karl-Heinz P.S. I would like to add a picture of my problem. Can anybody tell me how to do that? |
|
November 5, 2007, 10:35 |
Hallo,
concerning my problem
|
#37 |
New Member
Karl-Heinz Leitz
Join Date: Mar 2009
Posts: 16
Rep Power: 17 |
Hallo,
concerning my problem with the strange pressure patterns on the interface solid air. Here is a picture of my current model. I use a modified interFoam solver. However these pressure waves make my silulation unstable. Best regards, Karl-Heinz |
|
September 29, 2009, 18:31 |
|
#38 |
Senior Member
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 452
Rep Power: 23 |
Hi all, I'm dealing with surface problems in interFoam, the post is:
http://www.cfd-online.com/Forums/ope...-sloshing.html Any comments are welcome. Regards.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D. Research Scientist Research Center for Computational Methods (CIMEC) - CONICET/UNL Tel: 54-342-4511594 Int. 7032 Colectora Ruta Nac. 168 / Paraje El Pozo (3000) Santa Fe - Argentina. http://www.cimec.org.ar |
|
January 7, 2012, 22:43 |
VOF Method
|
#39 |
Senior Member
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
Dear All
Could I ask you whether you could tell me which VOF technique is used in OpenFOAM? I mean there are different VOF models like Hirt and Nicols, Youngs, and so on. Which one is used in OpenFOAM? Regards Ehsan |
|
January 8, 2012, 09:45 |
|
#40 | |||
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24 |
Dear ehsan
1) please ask your question just in one post, not in several posts! 2) look this paper: Quote:
and interface compression method to keep interface sharp 3) if you uses interFoam solver look at here: Quote:
Quote:
|
||||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
2d interface | Rogerio Fernandes Brito | CFX | 2 | July 26, 2008 12:25 |
interface | rym | FLUENT | 2 | January 16, 2008 04:55 |
About Interface BC | Philip | FLUENT | 0 | January 3, 2008 01:51 |
How to set BC at the interface | K Tamemy | FLUENT | 0 | June 5, 2006 10:45 |
interface | braket | FLUENT | 1 | November 15, 2005 01:58 |