|
[Sponsors] |
November 9, 2009, 05:46 |
patch / vol*Field connection
|
#1 |
Senior Member
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21 |
Hi,
I'm doing calculations on a boundary patch of the polyMesh (polyPatch), and the calculations are done for each face of the patch. How can I change the value of the vol*Field based on such computation? I.e. Code:
initialize some vol*Field go through all the faces of one boundary patch { calculate something for a face change the value of the vol*Field of the owner cell of this face } Everything is clear as day except for the changing of the vol*Field value in the cellCentre. I'm thinking about using faceToCell class, but I don't think it makes sense, since a cell selected this way, has no idea about the field value in it's centre. Any advice is useful, don't be shy... )) Tomislav |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Fluent msh and cyclic boundary | cfdengineering | OpenFOAM Meshing & Mesh Conversion | 48 | January 25, 2013 04:28 |
[blockMesh] Cyclic BC's: Possible face ordering problem? (Channel flow) | sega | OpenFOAM Meshing & Mesh Conversion | 3 | September 28, 2010 13:46 |
CheckMeshbs errors | ivanyao | OpenFOAM Running, Solving & CFD | 2 | March 11, 2009 03:34 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 06:12 |