|
[Sponsors] |
July 1, 2016, 03:02 |
Change values in patchField
|
#1 |
New Member
Justin Wiegmann
Join Date: Aug 2015
Posts: 20
Rep Power: 10 |
Hi Foamers!
I want to change a C-code a little bit. Therefore, I want to change only the values of Code:
const scalarField rhow = patch().lookupPatchField<volScalarField, scalar>("rho"); which are greater or less than a specific value. As an example, one could describe it like this: This should the be set to because i want to set all values to . This should be done with an if-statement. Anyone, who could help me with this? This would help me a lot. Regards JW |
|
July 6, 2016, 08:30 |
|
#2 | |
Member
Jerry
Join Date: Oct 2013
Location: Salt Lake City, UT, USA
Posts: 52
Rep Power: 12 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting internalField values from a patchField | aabbasi59 | OpenFOAM Programming & Development | 11 | October 30, 2019 07:29 |
Periodic (rotational)flow: a bit of confusion concerning reference values | Mr.Goodcat | FLUENT | 0 | March 22, 2016 07:31 |
strange u+ values with LES-Smagorinsky | matejmuller | OpenFOAM Running, Solving & CFD | 2 | January 8, 2016 06:08 |
strange node values @ solid/fluid interface - help | JB | FLUENT | 2 | November 1, 2008 12:04 |
Change system of units? | Joern | FLUENT | 1 | February 9, 2004 11:13 |