|July 1, 2016, 03:02||
Change values in patchField
Join Date: Aug 2015
Posts: 19Rep Power: 2
I want to change a C-code a little bit. Therefore, I want to change only the values of
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.
|July 6, 2016, 08:30||
Join Date: Oct 2013
Location: Salt Lake City, UT, USA
Posts: 47Rep Power: 4
|Thread||Thread Starter||Forum||Replies||Last Post|
|Periodic (rotational)flow: a bit of confusion concerning reference values||Mr.Goodcat||FLUENT||0||March 22, 2016 08:31|
|strange u+ values with LES-Smagorinsky||matejmuller||OpenFOAM Running, Solving & CFD||2||January 8, 2016 07:08|
|Getting internalField values from a patchField||aabbasi59||OpenFOAM Programming & Development||10||December 1, 2013 02:45|
|strange node values @ solid/fluid interface - help||JB||FLUENT||2||November 1, 2008 13:04|
|Change system of units?||Joern||FLUENT||1||February 9, 2004 12:13|