|
[Sponsors] |
method max(const GeometricField< Type, PatchField, GeoMesh>& gf) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 13, 2014, 07:48 |
method max(const GeometricField< Type, PatchField, GeoMesh>& gf)
|
#1 |
Senior Member
Join Date: Jan 2012
Posts: 166
Rep Power: 14 |
Hi what does method
Code:
dimensioned<Type> Foam::max(const GeometricField< Type, PatchField, GeoMesh >& gf) See: http://foam.sourceforge.net/docs/cpp...2b6d7a1cf29a1e greetings maybee |
|
January 13, 2014, 08:01 |
|
#2 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21 |
This is just a function that returns the maximum value of a field in a domain.
|
|
January 13, 2014, 09:45 |
|
#3 |
Senior Member
Join Date: Jan 2012
Posts: 166
Rep Power: 14 |
In method solveAlphas() in multiphasesystem.C of multiphaseEulerFoam method max(...) is called within
Code:
phir += min(cAlpha()*phic, max(phi_))*nHatf(phase1, phase2); Code:
phi_(phi), |
|
January 13, 2014, 11:00 |
|
#4 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21 |
In this case I suppose it would return the maximum surface flux of a face, not a cell (as it operates on a surfaceScalarField).
|
|
January 14, 2014, 05:15 |
|
#5 |
Senior Member
Join Date: Jan 2012
Posts: 166
Rep Power: 14 |
hi,
first of all thx. I still have some unanswered questions: When looking at Code:
phir += min(cAlpha()*phic, max(phi_))*nHatf(phase1, phase2); Code:
max(phi_) Code:
phi_(phi), |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with if statement | CHARLES | OpenFOAM Programming & Development | 17 | August 22, 2021 04:14 |
multiphaseInterFoam: timestep error by simulating a co-extrusion nozzle | Quatschinsky | OpenFOAM Running, Solving & CFD | 7 | March 27, 2014 06:08 |
ERCOFTAC Centrifugal Pump with kOmegaSST Model | marcelgt87 | OpenFOAM Running, Solving & CFD | 4 | March 13, 2013 11:49 |
[Commercial meshers] Using starToFoam | clo | OpenFOAM Meshing & Mesh Conversion | 33 | September 26, 2012 05:04 |
turbulent jet simulation | antonio_ing | OpenFOAM Running, Solving & CFD | 5 | September 16, 2010 03:31 |