whats the cause of error?
i have written three pressure BC.and then tried to do by groovyBC.although it seems equivalent to others it don't work.
if this problem resolve i think the trouble is removed. fixedValue p:OK Code:
type fixedValue; Code:
type totalPressure; Code:
type groovyBC; Code:
Create time thanks for quick helps. |
the whole p is:
Code:
FoamFile I have to write BC in groovyBC form because of more complicated main case I have to solve. thanks very much.please answer rapidly.;) |
thanks.T isn't zero and also its same for all three tests.but only in groovy it occurs.
|
did you try another time integration scheme? I see a backwardDdtScheme in your error message and there may be something happening there. Also, just to prove that its not the T in the denominator, change your value expression to
Code:
valueExpression "1023382.5/pow(1+(1.41)*magSqr(U)/(2*1.4*287.14*T + 1e-8),3.5)"; |
i changed time scheme to Euler and changed T but error persists.initial U is zero and i changed it but the error didn't change
these are variable BC's: p: Code:
FoamFile Code:
dimensions [0 1 -1 0 0 0 0]; Code:
FoamFile Code:
solvers Code:
ddtSchemes Code:
FoamFile |
thanks for your effort to help dear Daniel.
It was because of new groovyBC.I changed to old version and it answer now. |
OK, it is indeed your BC setup. I don't have the time to set this up for you, but i have some suggestions.
Good luck EDIT: read your new post that just mystically appeared....glad you figured it out :) |
a question occur to me that I'm curious about.
when I set BC for U to zeroGradient or: Code:
right but when I set it to: Code:
right Code:
From function janafThermo<EquationOfState>::limit(const scalar T) const why? |
Quote:
Did you find any clue for above warning to fix? Regards, CFDUser_ |
Quote:
besides that, the velocity on outward flow should be read from inside implicitly and only pressure should be set there as a known value otherwise error will arise due to instability. I hope these explanations be what you asked about. |
Quote:
Regards, CFDUser_ |
Hi,
I also have this problem. But I don't know how to fix it. --> FOAM Warning : From function Foam::scalar Foam::janafThermo<EquationOfState>::limit(Foam::sc alar) const [with EquationOfState = Foam::perfectGas<Foam::specie>; Foam::scalar = double] in file /home/pawan/OpenFOAM/OpenFOAM-v1812/src/thermophysicalModels/specie/lnInclude/janafThermoI.H at line 117 attempt to use janafThermo<EquationOfState> out of temperature range 200 -> 5000; T = -388.868 --> FOAM Warning : From function Foam::scalar Foam::janafThermo<EquationOfState>::limit(Foam::sc alar) const [with EquationOfState = Foam::perfectGas<Foam::specie>; Foam::scalar = double] in file /home/pawan/OpenFOAM/OpenFOAM-v1812/src/thermophysicalModels/specie/lnInclude/janafThermoI.H at line 117 attempt to use janafThermo<EquationOfState> out of temperature range 200 -> 5000; T = -111.631 min/max(T) = 200, 1742.55 Any suggestion? I read that the problem could be about different values in BC in the Internal Field and in the neighbor cells, but i did not understand exactly what it means! |
Hi, I have a same problem when using reactingFoamLTS
Do you have any idea about this issue? Quote:
|
All times are GMT -4. The time now is 10:23. |