|
[Sponsors] |
![]() |
![]() |
#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)); |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Loïc Dagnas
Join Date: Jan 2015
Location: France
Posts: 9
Rep Power: 12 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#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) |
||
![]() |
![]() |
![]() |
![]() |
#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 |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Join Date: Oct 2010
Posts: 23
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 |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Giles Richardson
Join Date: Jun 2012
Location: Cambs UK
Posts: 110
Rep Power: 15 ![]() |
ERROR: PAGE NOT FOUND
404 This page isn’t available. |
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
Join Date: Oct 2010
Posts: 23
Rep Power: 16 ![]() |
We have found that Telemac3D is a better option.
Dr Tom Scanlon BEng PhD CEng MIMechE https://www.mts-cfd.com/ https://claws-scot.github.io/ |
|
![]() |
![]() |
![]() |
![]() |
#8 |
Senior Member
Giles Richardson
Join Date: Jun 2012
Location: Cambs UK
Posts: 110
Rep Power: 15 ![]() |
Hi Tom, thanks - that has to be the quickest reply I ever had on this forum :-)
|
|
![]() |
![]() |
![]() |
![]() |
#9 |
New Member
Join Date: Oct 2010
Posts: 23
Rep Power: 16 ![]() |
No problem, Giles.
All the best, Dr Tom Scanlon BEng PhD CEng MIMechE https://www.mts-cfd.com/ https://claws-scot.github.io/ |
|
![]() |
![]() |
![]() |
![]() |
#10 |
Senior Member
Giles Richardson
Join Date: Jun 2012
Location: Cambs UK
Posts: 110
Rep Power: 15 ![]() |
I cant make any sense of the output from shallowWaterFoam.
The output fields for h, h_0, & hTotal all seem to have the same values, despite specifying a sloped bed (h_0). I can see the sloped bed at time 0, but after that h_0 has the same values as h. So why does h_0 not remain constant??? |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New User, Basic Questions (Yacht Design) | nyskiffie | STAR-CCM+ | 0 | March 13, 2013 16:01 |
possible interview questions | atturh | Main CFD Forum | 1 | February 21, 2012 08:53 |
NACA0012 Validation Case Questions | ozzythewise | Main CFD Forum | 3 | August 3, 2010 14:39 |
novice star ccm+ questions | apc3161 | STAR-CCM+ | 2 | August 25, 2009 10:15 |
turbulence modeling questions | llowen | Main CFD Forum | 3 | September 11, 1998 04:24 |