CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

integration of field

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 5, 2014, 08:51
Default integration of field
  #1
New Member
 
Kai Liang
Join Date: Nov 2013
Posts: 19
Rep Power: 12
ljjouc is on a distinguished road
Dear Foamers,

I really encounter an urgent problem in creating my own solver. Here is the problem:

I have obtained a VolScalarField rou(x,y,z,t), now I want to integrate it from water surface z=h to a water depth z so as to get a hydrostatic pressure head r(x,y,z,t), and the corresponding formula is stored in the attached figure. But, I just do not know how to code program to implement this integration?

Shall anyone kindly give me some advice or tell me how I should program by means of the OF programming language? The solving of this problem involves my Phd project and it is very important. Thanks in advance!
Attached Images
File Type: jpeg formula.jpeg (2.1 KB, 1 views)
ljjouc is offline   Reply With Quote

Reply


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
funkySetBoundaryFields - Manipulation of existing field jhertel OpenFOAM Pre-Processing 16 May 18, 2020 07:32
Demagnetization field jan0385 ANSYS 0 April 12, 2012 10:09
chtMultiRegionFoam - exchange data between flow field and temperature phsieh2005 OpenFOAM Running, Solving & CFD 0 February 7, 2012 10:16
Porosity field in Fluent wojciech FLUENT 1 September 20, 2010 12:19
problem with internal field and nonuniform list OFU OpenFOAM Running, Solving & CFD 1 October 5, 2009 04:35


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