|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Join Date: Apr 2010
Location: Linz, Austria
Posts: 15
Rep Power: 5 ![]() |
Hi OpenFOAM-folks,
I want to calculate the heat of each cell in chtMultiRegionFoam. As I got some strange results, I let OF write the CellVolumes and summed them up as follows: Volume Code:
V = mesh.V()[celli]; Code:
VSum = sum(V); checkMesh output: Total volume = 2.55e-06 (conform to dimensions of geometry) field output VSum: Code:
patchName
{
type calculated;
value uniform 2.342286e-06;
Best regards, Michael |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| negative element volume (CFX-10.0) | CFDworker | CFX | 8 | September 27, 2011 18:16 |
| air bubble is disappear increasing time using vof | xujjun | CFX | 9 | June 9, 2009 07:59 |
| Creating vents(faces) in a cubical volume | Julie | FLUENT | 6 | June 6, 2002 11:27 |
| fluid hot volume in fluid cold volume | zahid | FLUENT | 4 | June 1, 2002 09:11 |
| help needed about phase change | Yanhu Guo | Main CFD Forum | 4 | January 23, 2001 23:16 |