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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: doubtsincfd
Forum: OpenFOAM December 30, 2011, 16:47
Replies: 9
Views: 1,839
Posted By doubtsincfd
there is an in-built function max(fieldName). I...

there is an in-built function max(fieldName). I havent used it but it should be pretty straightforward.

http://www.cfd-online.com/Forums/openfoam-bugs/62307-max-scalarfield.html

link might help
Forum: OpenFOAM December 30, 2011, 02:17
Replies: 9
Views: 1,839
Posted By doubtsincfd
const fvPatchList& patches = mesh.boundary(); ...

const fvPatchList& patches = mesh.boundary();
forAll(patches,patchi)
{
const fvPatch& currPatch = patches[patchi];
if(currPatch.name()=="nameOfThePatch")
{
...
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 09:28.