|
[Sponsors] |
October 16, 2013, 06:25 |
Questions on shallowWaterFoam
|
#1 |
Senior Member
Join Date: Jul 2011
Posts: 120
Rep Power: 15 |
Hi all, just would like to verify certain parts of the code:
http://www.tfd.chalmers.se/~hani/kur...vistReport.pdf From the tutorial it was mentioned that h is the mean surface height and h0 is the deviation from the mean surface height? Should it be the other way round? In the code h is used in most of the momentum equations and theoretically this should be the mean plus the deviation. Code:
fvVectorMatrix hUEqn ( fvm::ddt(hU) + fvm::div(phiv, hU) ); Code:
solve(hUEqn + (F ^ hU) == -magg*h*fvc::grad(h + h0)); |
|
May 6, 2015, 16:13 |
|
#2 |
New Member
Loïc Dagnas
Join Date: Jan 2015
Location: France
Posts: 9
Rep Power: 11 |
Hi all,
I faced this problem last month. This tutorial contains a lot of errors, h is the water height and h0 the bed height. |
|
November 1, 2019, 12:24 |
|
#3 | |
New Member
Join Date: Oct 2019
Posts: 6
Rep Power: 7 |
Quote:
or h the height from topography to free surface? (https://users.oden.utexas.edu/~arbog.../dawson_v2.pdf) |
||
November 1, 2019, 13:46 |
|
#4 |
Senior Member
Reviewer #2
Join Date: Jul 2015
Location: Knoxville, TN
Posts: 141
Rep Power: 11 |
In OpenFOAM, your coordinate origin should be defined somewhere below the bottom floor. h0 is your bottom elevation (vertical distance from the bottom to your coordinate origin). h is your water column depth (from your water surface to the top of your bottom floor). And the htotal is a dummy; as defined as htotal = h0+h, which is your total water surface elevation (water surface to your origin).
Further information can be found at: A high-order arbitrarily unstructured finite-volume model of the global atmosphere: Tests solving the shallow-water equations. Thanks, Rdf |
|
May 4, 2020, 14:54 |
shallowFoam Example
|
#5 |
New Member
Join Date: Oct 2010
Posts: 21
Rep Power: 16 |
You will find an example of a shallowFoam application and details of verification and set-up here:
https://www.mts-cfd.com/ballater Tom |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New User, Basic Questions (Yacht Design) | nyskiffie | STAR-CCM+ | 0 | March 13, 2013 17:01 |
possible interview questions | atturh | Main CFD Forum | 1 | February 21, 2012 09:53 |
NACA0012 Validation Case Questions | ozzythewise | Main CFD Forum | 3 | August 3, 2010 15:39 |
novice star ccm+ questions | apc3161 | STAR-CCM+ | 2 | August 25, 2009 11:15 |
turbulence modeling questions | llowen | Main CFD Forum | 3 | September 11, 1998 05:24 |