CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

interDyMFoam mass conservation issues - dam break tutorial

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 6, 2010, 10:47
Default interDyMFoam mass conservation issues - dam break tutorial
  #1
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 18
kmooney is on a distinguished road
Hi all,

I'm working on validating interDyMFoam and noticed a serious mass conservation issue with the supplied tutorial damBreakWithObstacle - 3D. It appears the the mass begins to decrease strongly as soon as cells are coarsened. Has anyone seen this or know of a bug? See attached graph...(x-axis is volume of liquid in domain - y-axis is time in seconds)

Thanks.

kmooney is offline   Reply With Quote

Old   April 6, 2010, 10:56
Default
  #2
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 18
kmooney is on a distinguished road
Upon further inspection it appears that one of the side walls is specified as atmosphere and allows flow out of the domain. In other dam break tutorial set ups the atmosphere patch was at the top. I'm not sure if this is a bug or not.

Thanks.
kmooney is offline   Reply With Quote

Old   May 14, 2010, 06:02
Default I have suffered the same problem
  #3
Member
 
angel
Join Date: May 2009
Location: Spain
Posts: 46
Rep Power: 17
anmartin is on a distinguished road
Hello,


I'm trying to simulate fluid sloshing inside a tank with InterDyMFoam, subjected to a sinusoidal lateral displacement. I start at 0,05 sec and stop at 58 sec. After that the fluid oscillates freely.


When i use the patchIntegrate p walls to obtain the vertical, I obtain a curve that start from -323 N a 0 sec but at the end of my simulation I don't obtain the same value. It seems like if I lose some fluid during the simulation, probably by the solution convergence.

I have tried to increase the nAlpahSubCycles, cAlpha and decrease maxCo to 0.25 but the problem still appears.
result_Fx_Fy.jpg
Can anybody tell me what is the reason to this effect,
anmartin is offline   Reply With Quote

Old   May 21, 2010, 02:21
Default
  #4
Senior Member
 
Claus Meister
Join Date: Aug 2009
Location: Wiesbaden, Germany
Posts: 241
Rep Power: 18
idrama is on a distinguished road
Hallo anmartin,

I have just started to occupy myself with mass balance. Could you pleas explain in more detail what is the purpose of the integration of p over the wall? How can I use this information?

Cheers in advance
idrama is offline   Reply With Quote

Old   May 28, 2010, 12:07
Default
  #5
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18
openfoam_user is on a distinguished road
Dear all,

I am running the damBreakWithObstacle tutorial in parallel using the Allrun script.

#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions

runApplication blockMesh
runApplication setSet -batch createObstacle.setSet
runApplication subsetMesh c0 -patch walls
runApplication setFields -latestTime
runApplication decomposePar
runApplication /opt/mpich/bin/mpirun -machinefile machines -n 4 interDyMFoam

The case seems to run fine.
I just notice 1 strange thing.

The folders 0.021 0.041 0.061 ... are present without doing the command reconstructPar. Is it normal ?
Best regards,
Stephane
openfoam_user is offline   Reply With Quote

Old   June 1, 2010, 15:23
Default interDyMFoam mass conservation issues
  #6
Member
 
angel
Join Date: May 2009
Location: Spain
Posts: 46
Rep Power: 17
anmartin is on a distinguished road
Hello Claus,

I have to integrate p over wall because I want to compare OF results with experimental data in order to validate the total sloshing forces and roll moment. In my test I measure the vertical, lateral and roll moment of a fuel tank filled with water which is excited with a sinusoidal lateral excitation.

Best regards,
Nueva imagen.jpg
anmartin is offline   Reply With Quote

Reply

Tags
dynamic meshing, interdymfoam, mass conservation

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 13:24
Mass Conservation in LES Jaswant Main CFD Forum 8 July 4, 2005 23:32
Mass conservation Diego Nogueira Main CFD Forum 1 July 30, 2004 16:50
BFC for Dam break problem Mehdi BEN ELHADJ Phoenics 0 January 18, 2001 16:22


All times are GMT -4. The time now is 22:40.