|
[Sponsors] |
updateCoeffs(const scalarField& snGradp) MUST be called before updateCoeffs() |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
yaqing
Join Date: Sep 2014
Posts: 10
Rep Power: 11 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Anthony DeFilippo
Join Date: Mar 2009
Location: Seville, Spain
Posts: 1
Rep Power: 0 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 16 ![]() |
Thanks it helped.
__________________
best regards pblasiak |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Simon Braungardt
Join Date: Oct 2015
Posts: 2
Rep Power: 0 ![]() |
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? |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Kennedy Murithi Micheni
Join Date: Apr 2020
Posts: 6
Rep Power: 6 ![]() |
Did you solve this?
|
|
![]() |
![]() |
![]() |
![]() |
#6 |
New Member
Kennedy Murithi Micheni
Join Date: Apr 2020
Posts: 6
Rep Power: 6 ![]() |
I am in the same problem with fixedFluxPressure boundary conditions but changing the BC to zeroGradient does not work still
|
|
![]() |
![]() |
![]() |
![]() |
#7 |
Member
Join Date: Jun 2019
Posts: 41
Rep Power: 7 ![]() |
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; }
__________________
« Debugging is what CFD is about. 5 minutes to modify your code, 5 months to find why it does not work anymore. » |
|
![]() |
![]() |
![]() |
![]() |
#8 |
New Member
Raphael Santos
Join Date: Oct 2013
Posts: 20
Rep Power: 12 ![]() |
An old post, but, check if you wrote fixedFluxPressure in another propertie, as velocity or temperature, etc.
|
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
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 |