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

Calculating hydraulic head using interFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 9, 2020, 20:38
Default Calculating hydraulic head using interFoam
  #1
New Member
 
JCS
Join Date: Apr 2020
Posts: 2
Rep Power: 0
Verdant Frond is on a distinguished road
Hi everyone!

First off, I'm not very experienced with OpenFOAM and might easily have missed something here. That said, I have searched through the forum and seen this question turn up a few times, but unfortunately with no solutions. I'm interested in finding the hydraulic head [m] for free surface flow, using interFoam. From what I gather, hydraulic head can (in principle) be calculated easily by dividing the total pressure (p) by (rho x g).

So my question is: is there a way to do this calculation in a practical way, e.g. by way of a function in controlDict?

Furthermore, looking through the user guide, it seems to me that creating a new function object would be a smart way to do it, because the hydraulic head can then be written directly into the time-folders. I found the following document, describing how to create user defined function objects. The document gives a general outline of how to create and compile a new function object, but I haven't got a lot of experience coding. If anyone could point me in the right direction, I would be very grateful. I'll continue to work the problem and if there is any interest, I can post the case and any progress. Other thoughts and solutions are also more than welcome!

Best regards,
JCS
Verdant Frond is offline   Reply With Quote

Reply

Tags
function objects, hydraulic head, interfoam, post-possessing


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
Problem modeling hydraulic jump in an open channel with interFoam (VoF) arnau1985 OpenFOAM Running, Solving & CFD 12 December 26, 2022 06:54
Average total hydraulic head through a baffle npjozz FLOW-3D 4 July 25, 2020 00:20
Stationary hydraulic jump - interFoam Bessy OpenFOAM Running, Solving & CFD 0 September 6, 2015 13:40
Net Head in hydraulic turbine simulation Norflow CFX 3 February 2, 2015 09:46
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27


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