How to compare volume scalar field with constant values
Hi,
I wanted to compare one volscalarfield w.r.t a constant value To be more precise if I want to compare enthalpy h with specific value say enthalpy of sat liq i need to find in all h values i.e forAll(arg1,arg2) what should these arguments be Please do let me know thanks sachin |
Something like:
Code:
forAll(enthalpy,celli) |
thanks for your quick reply,
I was having a basic idea...was just missing the arguments sachin |
That's probably a bit sloppy for a volScalarField.
Code:
forAll(enthalpy.internalField(),celli) |
Hi there!
I'm trying to compare one volScalarField with one scalar, but It doesn't work properly. I've used the code posted in previous post but it doesn´t get correct values. My code is: Quote:
Thanks! |
All times are GMT -4. The time now is 00:25. |