CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Calculating hydraulic head using interFoam

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

LinkBack Thread Tools Search this Thread Display Modes
Old   April 9, 2020, 19:38
Default Calculating hydraulic head using interFoam
New Member
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,
Verdant Frond is offline   Reply With Quote


function objects, hydraulic head, interfoam, post-possessing

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

All times are GMT -4. The time now is 07:41.