|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Alberto
Join Date: Aug 2015
Posts: 31
Rep Power: 10 ![]() |
Hello.
I want to define a field function using the maximum value of another field function. ¿is this possible?¿how would it be? Thx. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 17 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Alberto
Join Date: Aug 2015
Posts: 31
Rep Power: 10 ![]() |
Thx a lot. That's exactly what I need.
|
|
![]() |
![]() |
![]() |
Tags |
field function, max, maximum |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 05:37 |
Cavitation around NACA hydrofoil using interPhaseChangeFoam | Kozan | OpenFOAM Running, Solving & CFD | 28 | March 11, 2023 23:30 |
''unknown radialModelType type Gidaspow'' PROBLEM WITH THE BED TUTORIAL | AndoniBM | OpenFOAM Running, Solving & CFD | 2 | March 25, 2015 18:44 |
latest OpenFOAM-1.6.x from git failed to compile | phsieh2005 | OpenFOAM Bugs | 25 | February 9, 2010 04:37 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 10:23 |