Replies: 1 comment 1 reply
-
Hi Nilay, That usually happens if your BC or even vp is not set properly. Note that, the userbc inside the usr file is never called. Yu-Hsiang |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am trying to setup a turbulent case and solving for the temperature equation. But I am facing unreasonable res0Norm error. The case works when I remove temperature from the *.par file. My *.par file and the useric and userbc are shown below:
[GENERAL]
stopAt = endTime
#numStep = 0
endTime = 200.0
dt = 1e-03
variableDt = yes
timeStepper = bdf2
writeControl=runTime
writeInterval=5.0
regularization = hpfrt + nModes=1 + scalingCoeff=10
polynomialOrder = 7
#startFrom = channel0.f00003
[PRESSURE]
residualTol = 1e-05
residualProj = no
[VELOCITY]
residualTol = 1e-07
density = 1.0
viscosity = -10000
residualProj = no
[TEMPERATURE]
#ConjugateHeatTransfer = no
##advection = yes
conductivity = -8590.0
rhoCp = 1.0
residualTol = 1.0e-6
c-----------------------------------------------------------------------
subroutine userbc(ix,iy,iz,iside,ieg) ! set up boundary conditions
c NOTE ::: This subroutine MAY NOT be called by every process
c-----------------------------------------------------------------------
SUBROUTINE USERIC (IX,IY,IZ,ieg)
C Set user-defined initial conditions
c-----------------------------------------------------------------------
How do avoid this error? I changed my initial condition for temp from 0.0 to 1.0 but that didn't help.
Thank you
Nilay
Beta Was this translation helpful? Give feedback.
All reactions