Magnitude of scalarField
1 Attachment(s)
Hello foamers,
I'm calculating the magnitude via mag() function for two scalarfields qOwn and qNbr2own. It's working at the beginning, but after some iterations I'm getting the error: Code:
#0 Foam::error::printStack(Foam::Ostream&) in "/home/of/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" Code:
qOwn = For the sake of completeness I've attached the log file. |
Hi,
The line Code:
... = 200{0} Kind regards Niels |
Thank you Niels for your answer. I've assumed, if mag(x) gives an error, so mag(mag(x)-(mag(y)) has to produce an error, too.
I've changed the definiton of qOwn from: Code:
const fvPatchScalarField& Town = *this; //Temperature of own face (Tsolid, if regionCoupleTemperature is set in solid bc) Code:
const fvPatchScalarField& Town = *this; //Temperature of own face (Tsolid, if regionCoupleTemperature is set in solid bc) |
All times are GMT -4. The time now is 18:43. |