|
[Sponsors] |
November 5, 2015, 15:50 |
field function max
|
#1 |
Member
Alberto
Join Date: Aug 2015
Posts: 31
Rep Power: 11 |
Hello.
I want to define a field function using the maximum value of another field function. ¿is this possible?¿how would it be? Thx. |
|
November 5, 2015, 16:27 |
|
#2 |
Senior Member
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18 |
step 1: create a report for the field function for which you want the maximum. you can set this up to give the max value anywhere in the domain, anywhere on a specific surface, or on a derived part.
step 2: create a user defined field function that calls your maximum report. Lets assume you called it 'max', you can call it inside the field function using $maxReport. |
|
November 5, 2015, 16:30 |
|
#3 |
Member
Alberto
Join Date: Aug 2015
Posts: 31
Rep Power: 11 |
Thx a lot. That's exactly what I need.
|
|
Tags |
field function, max, maximum |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
y+ and u+ values with low-Re RANS turbulence models: utility + testcase | florian_krause | OpenFOAM | 114 | August 23, 2023 06:37 |
Cavitation around NACA hydrofoil using interPhaseChangeFoam | Kozan | OpenFOAM Running, Solving & CFD | 28 | March 12, 2023 00:30 |
''unknown radialModelType type Gidaspow'' PROBLEM WITH THE BED TUTORIAL | AndoniBM | OpenFOAM Running, Solving & CFD | 2 | March 25, 2015 19:44 |
latest OpenFOAM-1.6.x from git failed to compile | phsieh2005 | OpenFOAM Bugs | 25 | February 9, 2010 05:37 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |