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

How to define hRef for a variable bottom (bathymetry) ?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 22, 2022, 10:53
Default How to define hRef for a variable bottom (bathymetry) ?
  #1
New Member
 
Join Date: May 2022
Posts: 29
Rep Power: 3
cfd_saad is on a distinguished road
Hi foamers,

I am using interFoam to study a breakwater with a variable bathymetry so the reference of the free surface changes depending on the location.

My free surface at the inlet is at 32m and it decreases until 10m at the outlet.

In p and p_rgh it does include hRef (gh = g*hRef), I have put hRef=32m (constant) but I am getting high pressures so I think I need to have a variable hRef depending on the location, how can I manage to do this ?

Thanks!!
cfd_saad is offline   Reply With Quote

Old   August 24, 2022, 04:44
Default
  #2
New Member
 
Join Date: May 2022
Posts: 29
Rep Power: 3
cfd_saad is on a distinguished road
the idea is to substract the instantaneous hydrostatic pressure at the wave impact on the wall, any ideas ?
cfd_saad is offline   Reply With Quote

Reply

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
Define Paramenter in ANSYS Workbench and use it as a UDF Variable rafacerq Fluent UDF and Scheme Programming 4 June 26, 2015 05:24
Define variable temp w.r.t time in fluent dhananjay Fluent UDF and Scheme Programming 2 July 24, 2014 06:42
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24
Define decay constant of an additional variable jim CFX 7 February 8, 2004 21:43
help, how to define a variable in CFX5 adamsluo CFX 0 December 17, 2002 00:08


All times are GMT -4. The time now is 04:15.