|
[Sponsors] |
Openfoam delayed neutron precursor drift diverging |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 6, 2022, 07:29 |
Openfoam delayed neutron precursor drift diverging
|
#1 |
New Member
Jonathon
Join Date: May 2022
Posts: 3
Rep Power: 3 |
Hello Foamers,
I hope this is the right place to post. I am trying to solve for a liquid molten-salt nuclear fuel with a custom solver I have. The difficulty arises in modelling delayed neutron precursor drift in the solver which uses an advection term. I am solving the following using SIMPLE. When adding this last term (), the solution seems to diverge immediately, even when working on a uniform 2D cartesian mesh. To implement this equation, I have written a series of 8 different delayed neutron equations that mimic the following: HTML Code:
fvScalarMatrix delayedThree ( fvm::ddt((1.0-keffNew)*rho, concThree) - Beta_3/keffNew*rho*fissionTerm + fvm::Sp(lamb_3*rho, concThree) + fvm::div(phi,concThree) ); The error I get once I implement this last term is below. I am still learning openfoam through this implementation and I am asking if there is something obvious that I am missing in the advection term that is causing the FPE. All other parts of the solver work fine so far up to this point. I have also tried preconditioning my velocity fields and that leads to the same error. I am currently using Gauss upwind in my divSchemes and have had no other luck on any divSchemes that I have tested. Thank you for any help!!! : HTML Code:
#0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in /lib/x86_64-linux-gnu/libpthread.so.0 #3 Foam::scalarProduct<double, double>::type Foam::sumProd<double>(Foam::UList<double> const&, Foam::UList<double> const&) at ??:? #4 Foam::PBiCGStab::scalarSolve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:? #5 Foam::GAMGSolver::solveCoarsestLevel(Foam::Field<double>&, Foam::Field<double> const&) const at ??:? #6 Foam::GAMGSolver::Vcycle(Foam::PtrList<Foam::lduMatrix::smoother> const&, Foam::Field<double>&, Foam::Field<double> const&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::PtrList<Foam::Field<double> >&, Foam::PtrList<Foam::Field<double> >&, unsigned char) const at ??:? #7 Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:? #8 Foam::fvMatrix<double>::solveSegregated(Foam::dictionary const&) at ??:? #9 Foam::fvMatrix<double>::solveSegregatedOrCoupled(Foam::dictionary const&) at ??:? #10 Foam::fvMesh::solve(Foam::fvMatrix<double>&, Foam::dictionary const&) const at ??:? #11 Foam::fvMatrix<double>::solve() at ??:? #12 ? at ??:? #13 __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6 #14 ? at ??:? Floating point exception |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to solve problem diverging in OpenFOAM | quarkz | OpenFOAM Running, Solving & CFD | 5 | July 9, 2018 01:22 |
rhoPorousSimpleFoam several diverging "fatal errors" (SimFlow (OpenFOAM GUI)) | Ballistics_Sim | OpenFOAM Running, Solving & CFD | 0 | July 5, 2017 15:42 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 03:18 |
OpenFOAM solution is diverging for stress analysis in two-pahse microstructure. | Sargam05 | OpenFOAM | 16 | April 30, 2013 16:18 |
Converging Diverging Nozzle in OpenFOAM | danishdude | OpenFOAM Running, Solving & CFD | 1 | September 15, 2012 00:12 |