|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
Vishal Nandigana
Join Date: Mar 2009
Location: Champaign, Illinois, U.S.A
Posts: 183
Rep Power: 6 ![]() |
Dear Foamers,
I would like to numerically compute the volume integral of my scalar variable defined as C1 over the entire domain. Mathematically integrate(C1(x,y,z) dx dy dz) from x = x1 to x2, y =y1 to y2 and z = z1 to z2 where x1,x2, y1,y2 and z1,z2 are the ends of the domain in x,y and z directions, respectively. Please let me know how to incorporate this in my solver. Thanks Regards, Vishal |
|
|
|
|
|
|
|
|
#2 |
|
Member
|
Well the easiest solution is to sum up C1*V over the entire domain where C1 and V are the value of your variable and the cell volume.
Cheers, D |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| non-orthogonal faces and incorrect orientation? | nennbs | OpenFOAM Native Meshers: blockMesh | 7 | April 17, 2013 05:42 |
| Problem of simulating of small droplet with radius of 2mm | liguifan | OpenFOAM Running, Solving & CFD | 1 | April 7, 2013 18:18 |
| initialization of scalar source using volume integral of source cells | letzel | OpenFOAM Running, Solving & CFD | 1 | March 24, 2013 11:33 |
| emag beta feature: charge density | charlotte | CFX | 4 | March 22, 2011 10:14 |
| Env variable not set | gruber2 | OpenFOAM Installation | 5 | December 30, 2005 04:27 |