![]() |
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 timethanks for quick helps. |
the whole p is:
Code:
FoamFileI 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:
FoamFileCode:
dimensions [0 1 -1 0 0 0 0];Code:
FoamFileCode:
solversCode:
ddtSchemesCode:
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:
rightbut when I set it to: Code:
rightCode:
From function janafThermo<EquationOfState>::limit(const scalar T) constwhy? |
| All times are GMT -4. The time now is 13:28. |