|
[Sponsors] |
How to specify p in the flux required subdictionary |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 6, 2006, 17:49 |
fvschemes
Hi
I am getting t
|
#1 |
New Member
Amit Shah
Join Date: Mar 2009
Posts: 5
Rep Power: 17 |
fvschemes
Hi I am getting the following error. Can anyone tell me what I am doing wrong. Thanks --> FOAM FATAL ERROR : flux requested but p not specified in the fluxRequired sub-dictionary of fvSchemes. Here is the fvSchemes file fvSchemes ddtSchemes { default Euler; } gradSchemes { default Gauss linear; grad(p) Gauss linear; grad(U) Gauss linear; } divSchemes { default none; div(phi,rho) Gauss limitedLinear 1; div(phiU,p) Gauss linear; div(phi,U) Gauss limitedLinearV 1; div(phi,k) Gauss limitedLinear 1; div(phi,epsilon) Gauss limitedLinear 1; div(phi,R) Gauss upwind; div(R) Gauss linear; div(phi,nuTilda) Gauss upwind; div((muEff*dev2(grad(U).T()))) Gauss linear; div(phi,Yi) Gauss upwind; } laplacianSchemes { default Gauss linear corrected;; laplacian(muEff,U) Gauss linear corrected; laplacian(1|A(U),p) Gauss linear corrected; laplacian(DkEff,k) Gauss linear corrected; laplacian(DepsilonEff,epsilon) Gauss linear corrected; laplacian(DREff,R) Gauss linear corrected; laplacian(DnuTildaEff,nuTilda) Gauss linear corrected; laplacian(diff,Yi) Gauss linear corrected; laplacian(alphaEff,O2) Gauss linear corrected; laplacian(alphaEff,C6H6) Gauss linear corrected; } interpolationSchemes { default linear; interpolate(U) linear; } snGradSchemes { default corrected; } fluxRequired { p; } |
|
July 7, 2006, 00:14 |
That would be the following bi
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
That would be the following bit:
fluxRequired { p; } I'm not sure what the problem is: if you are running this case, it should work. Hmm, Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
July 23, 2008, 13:32 |
As there is only one thread on
|
#3 |
New Member
Fluid Path
Join Date: Mar 2009
Posts: 1
Rep Power: 0 |
As there is only one thread on this subject I thought I would chip in for thread "completeness". I had this message (full error messages below) and eventually discovered that it occurred because I'd accidently introduced an extra "}" in my fvSchemes file. Once removed the message disappeared and it ran fine. OF1.4.1.
laplacianSchemes { default none; /*etc*/ /*etc*/ laplacian(DnuTildaEff,nuTilda) Gauss linear corrected; } } /*<---Opps!*/ ------------------------------------------------------ --> FOAM FATAL ERROR : flux requested but p not specified in the fluxRequired sub-dictionary of fvSchemes.#0 Foam::error::printStack(Foam:stream&) in "/caesw1/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccSPOpt/libOpenFOAM.so" #1 Foam::error::abort() in "/caesw1/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccSPOpt/libOpenFOAM.so" #2 Foam::fvMatrix<float>::flux() const in "/caesw1/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccSPOpt/simpleFoam" #3 main in "/caesw1/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccSPOpt/simpleFoam" #4 __libc_start_main in "/lib64/tls/libc.so.6" #5 Foam::regIOobject::readIfModified() in "/caesw1/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccSPOpt/simpleFoam" From function fvMatrix<type>::flux() in file /home/dm2/henry/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude/fvMatrix.C at line 841. FOAM aborting ------------------------------------------------------ |
|
February 15, 2016, 01:34 |
|
#5 |
New Member
Ved Merchant
Join Date: Feb 2016
Posts: 2
Rep Power: 0 |
I checked my fvschemes file again. There are no errors in the file and I still have this problem with the cylinder case for reactingparcelfilmfoam solver.
Any idea what is going wrong here? Error: --> FOAM FATAL ERROR: flux requested but deltaf not specified in the fluxRequired sub-dictionary of fvSchemes. From function fvMatrix<Type>::flux() in file /root/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude/fvMatrix.C at line 887. FOAM aborting I have declared deltaf in my fvschemes file under fluxRequired section. Last edited by Ved Merchant; February 15, 2016 at 04:03. Reason: Solved: Was using different version's tutorial case. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ratio of total heat flux and radiative heat flux | S.Karthikeyan | FLUENT | 2 | July 1, 2008 04:48 |
flux required keyword in fvSchemes | srinath | OpenFOAM Running, Solving & CFD | 1 | June 19, 2008 12:44 |
Help required! | Adi | FLUENT | 1 | May 20, 2008 00:58 |
What does the term bHbyAblendb mean in the PISO subdictionary | shaun | OpenFOAM Running, Solving & CFD | 0 | October 20, 2007 03:29 |
help required | rajesh | Siemens | 1 | February 18, 2005 04:15 |