CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > 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 Search this Thread 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: 11
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, 03: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
Senior Member
 
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 15
gaza is on a distinguished road
Thanks it helped.
__________________
best regards
pblasiak
gaza is offline   Reply With Quote

Old   October 28, 2015, 07:01
Default
  #4
New Member
 
Simon Braungardt
Join Date: Oct 2015
Posts: 2
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

Old   June 25, 2021, 04:49
Default
  #5
New Member
 
Kennedy Murithi Micheni
Join Date: Apr 2020
Posts: 6
Rep Power: 6
Kenmaster is on a distinguished road
Did you solve this?
Kenmaster is offline   Reply With Quote

Old   June 25, 2021, 05:40
Default
  #6
New Member
 
Kennedy Murithi Micheni
Join Date: Apr 2020
Posts: 6
Rep Power: 6
Kenmaster is on a distinguished road
Quote:
Originally Posted by acflip View Post
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
I am in the same problem with fixedFluxPressure boundary conditions but changing the BC to zeroGradient does not work still
Kenmaster is offline   Reply With Quote

Old   December 14, 2021, 09:29
Default
  #7
Member
 
Join Date: Jun 2019
Posts: 41
Rep Power: 6
Voulet is on a distinguished road
Hello. I've the same error problem here with ofv2106.



Code:
inlet
{
    type            fixedFluxPressure;
    value           uniform 0;
}

outlet
{
     type            PrimalPressureOutlet;
     p0              uniform 0.;
}

paroiAdiabatique
{
    type            fixedFluxPressure;
    value           uniform 0;
}

paroiChaude
{
    type            fixedFluxPressure;
    value           uniform 0;
}
Does anyone has an idea on how solve this ? What does the error means ?
__________________
Debugging is what CFD is about. 5 minutes to modify your code, 5 months to find why it does not work anymore.
Voulet is offline   Reply With Quote

Old   March 14, 2024, 11:57
Default
  #8
New Member
 
Raphael Santos
Join Date: Oct 2013
Posts: 20
Rep Power: 12
Raphael_Santos is on a distinguished road
An old post, but, check if you wrote fixedFluxPressure in another propertie, as velocity or temperature, etc.
Raphael_Santos is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
TimeVaryingMappedFixedValue irishdave OpenFOAM Running, Solving & CFD 32 June 16, 2021 06:55
updateCoeffs() and evaluate() lixx OpenFOAM Programming & Development 11 August 12, 2020 15:41
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 17:28.