|
[Sponsors] |
updateCoeffs(const scalarField& snGradp) MUST be called before updateCoeffs() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 1, 2014, 22:40 |
updateCoeffs(const scalarField& snGradp) MUST be called before updateCoeffs()
|
#1 |
New Member
yaqing
Join Date: Sep 2014
Posts: 10
Rep Power: 12 |
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. |
|
December 10, 2014, 04:08 |
|
#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 |
|
July 16, 2015, 09:11 |
|
#3 |
Senior Member
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 16 |
Thanks it helped.
__________________
best regards pblasiak |
|
October 28, 2015, 08:01 |
|
#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? |
|
June 25, 2021, 05:49 |
|
#5 |
New Member
Kennedy Murithi Micheni
Join Date: Apr 2020
Posts: 6
Rep Power: 6 |
Did you solve this?
|
|
June 25, 2021, 06:40 |
|
#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
|
|
December 14, 2021, 10:29 |
|
#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. » |
|
March 14, 2024, 12:57 |
|
#8 |
New Member
Raphael Santos
Join Date: Oct 2013
Posts: 20
Rep Power: 13 |
An old post, but, check if you wrote fixedFluxPressure in another propertie, as velocity or temperature, etc.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TimeVaryingMappedFixedValue | irishdave | OpenFOAM Running, Solving & CFD | 32 | June 16, 2021 07:55 |
updateCoeffs() and evaluate() | lixx | OpenFOAM Programming & Development | 11 | August 12, 2020 16:41 |
terminate called after throwing an instance of 'int' | b614910 | SU2 | 10 | July 27, 2014 23:16 |
reconstructParMesh not working with an axisymetric case | francesco | OpenFOAM Bugs | 4 | May 8, 2009 06:49 |