CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

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

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: hjasak
Forum: OpenFOAM Running, Solving & CFD May 8, 2006, 06:14
Replies: 20
Views: 2,700
Posted By hjasak
Sorry, my mistake: use mesh in

Sorry, my mistake: use mesh instead of amesh().

The Uav will sum up the values for all patches that fix the value, which will probably be inlet and all the walls.

Hrv
Forum: OpenFOAM Running, Solving & CFD May 8, 2006, 05:37
Replies: 20
Views: 2,700
Posted By hjasak
That would be because of the

That would be because of the if (p.boundaryField()[patchI].fixesValue()) bit.

If you want to do a specific patch, do the findPatchID trick - beware, if there's no such patch, the index...
Forum: OpenFOAM Running, Solving & CFD May 5, 2006, 07:57
Replies: 20
Views: 2,700
Posted By hjasak
Hi Anja, I really appreciat

Hi Anja,

I really appreciate the effort you are putting in and the above should work for p with no trouble. I have written the following piece of code which works for me with no trouble -...
Forum: OpenFOAM Running, Solving & CFD May 4, 2006, 05:06
Replies: 20
Views: 2,700
Posted By hjasak
The magnitude of the face area

The magnitude of the face area vector is equal to the area. If you don't want the vector, try mesh.magSf(). Quoting from fvMesh.H:


//- Return cell face area magnitudes
...
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -4. The time now is 16:22.