CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

updateCoeffs(const scalarField& snGradp) MUST be called before updateCoeffs()

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 1, 2014, 21:40
Default updateCoeffs(const scalarField& snGradp) MUST be called before updateCoeffs()
  #1
New Member
 
yaqing
Join Date: Sep 2014
Posts: 10
Rep Power: 3
jinyaqing is on a distinguished road
Hi, everyone:
I am trying to run dynamic mesh case in pimpleDyMFoam, but after running one step, I always encounter this problem:
updateCoeffs(const scalarField& snGradp) MUST be called before updateCoeffs() or evaluate() to set the boundary gradient

Does anyone meet similar problems before? Thank you very much.
jinyaqing is offline   Reply With Quote

Old   December 10, 2014, 04:08
Default
  #2
New Member
 
Anthony DeFilippo
Join Date: Mar 2009
Location: Seville, Spain
Posts: 1
Rep Power: 0
acflip is on a distinguished road
Hello,
Are you using a type fixedFluxPressure for a pressure boundary condition? Maybe try switching to a zeroGradient boundary condition in pressure and see if the error goes away.
Good luck
acflip is offline   Reply With Quote

Old   July 16, 2015, 08:11
Default
  #3
Member
 
Przemek
Join Date: Jun 2011
Posts: 87
Rep Power: 6
gaza is on a distinguished road
Thanks it helped.
__________________
best regards
pblasiak
gaza is offline   Reply With Quote

Old   October 28, 2015, 08:01
Default
  #4
New Member
 
Simon Braungardt
Join Date: Oct 2015
Posts: 1
Rep Power: 0
SimOF is on a distinguished road
I have the same problem in simpleFoam. Using zeroGradient works.
But my case is that I want to simulate the pressure drop in a bifurcation of tubes with a given massflow through the tube. So, as far a I understand fixedFluxPressure is the boundary condition I should use.
How can I fix the case to use fixedFluxPressure?
SimOF is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
TimeVaryingMappedFixedValue irishdave OpenFOAM Running, Solving & CFD 28 May 28, 2015 13:37
updateCoeffs() and evaluate() lixx OpenFOAM Programming & Development 4 May 3, 2015 13:11
terminate called after throwing an instance of 'int' b614910 SU2 10 July 27, 2014 22:16
reconstructParMesh not working with an axisymetric case francesco OpenFOAM Bugs 4 May 8, 2009 05:49


All times are GMT -4. The time now is 03:29.