|
[Sponsors] | |||||
works in serial, but not parallel - GGDH in rhoSimpleFoam |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Member
Jack
Join Date: Aug 2012
Posts: 47
Rep Power: 15 ![]() |
Hi all,
I have a puzzling issue implementing a solver that incorporates Daly & Harlow's GGDH model in the energy Equation. I have updated the EEqn.H of rhoSimpleFoam to read: Code:
volScalarField fluxTimeScale (
0.3 * turbulence->mut() / (0.09 * rho * turbulence->k())
);
volSymmTensorField alphaEff(
"alphaEff",
rho*fluxTimeScale*turbulence->R()
);
fvScalarMatrix EEqn
(
fvm::div(phi, he)
+ (
he.name() == "e"
? fvc::div(phi, volScalarField("Ekp", 0.5*magSqr(U) + p/rho))
: fvc::div(phi, volScalarField("K", 0.5*magSqr(U)))
)
// - fvm::laplacian(turbulence->alphaEff(), he) // linear
- fvm::laplacian(alphaEff, he) // non-linear
- fvm::laplacian(turbulence->alpha(), he)
==
fvOptions(rho, he)
);
In serial everything runs, but in parallel I get: Code:
[1] [1] [1] --> FOAM FATAL ERROR: [1] Maximum number of iterations exceeded [1] [1] From function thermo<Thermo, Type>::T(scalar f, scalar T0, scalar (thermo<Thermo, Type>::*F)(const scalar) const, scalar (thermo<Thermo, Type>::*dFdT)(const scalar) const, scalar (thermo<Thermo, Type>::*limit)(const scalar) const) const [1] in file /home/jack/OpenFOAM/OpenFOAM-2.4.0/src/thermophysicalModels/specie/lnInclude/thermoI.H at line 76. [1] FOAM parallel run aborting If I look at the flow in paraview, I see small regions (1 or 2 cells) of |T|>3e+8 (should be 297-330). Note, this behaviour is reasonably fvScheme/fvSolution dependent and if I change the number of procs and decomposition. Also, I have tried from a converged solution from using the standard heat flux model and an initial condition. Note that I have two timeVaryingMappedFixedValue boundary conditions. if anyone can help - thanks! I am guessing it is something to do with the processor boundaries and using the turbulence member functions, but I do not know. Cheers, Jack |
|
|
|
|
|
|
|
|
#2 |
|
Member
Join Date: Dec 2012
Posts: 33
Rep Power: 14 ![]() |
Hi Jack,
Did you manage to find a solution to this problem? I've also implemented a GGDH in the EEqn.H and my simulation crashes stating a floating point exception. Cheers |
|
|
|
|
|
|
|
|
#3 |
|
New Member
SunTime
Join Date: Nov 2020
Posts: 21
Rep Power: 7 ![]() |
Hi,
Did you solve this issue? |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Explicitly filtered LES | saeedi | Main CFD Forum | 16 | October 14, 2015 12:58 |
| Poisson eq w setReference works serial diverges in parallel | tehache | OpenFOAM Running, Solving & CFD | 5 | August 29, 2012 10:41 |
| FLUENT in Windows Serial and Linux Parallel | sham83 | FLUENT | 0 | June 1, 2011 00:38 |
| Differences solutions in Parallel and Serial | wizard1301 | OpenFOAM Running, Solving & CFD | 2 | January 30, 2009 06:38 |
| Serial run OK parallel one fails | r2d2 | OpenFOAM Running, Solving & CFD | 2 | November 16, 2005 13:44 |