mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updated film enthalpy source treatment
This commit is contained in:
@ -467,7 +467,7 @@ void Foam::ThermoSurfaceFilm<CloudType>::splashInteraction
|
||||
|
||||
// Apply correction to velocity for 2-D cases
|
||||
meshTools::constrainDirection(mesh, mesh.solutionD(), pPtr->U());
|
||||
Info<< "NEW PARTICLE: " << *pPtr << endl;
|
||||
|
||||
// Add the new parcel
|
||||
this->owner().addParticle(pPtr);
|
||||
|
||||
|
||||
@ -273,15 +273,12 @@ void thermoSingleLayer::solveEnergy()
|
||||
|
||||
updateSurfaceTemperatures();
|
||||
|
||||
dimensionedScalar hs0("SMALL", hs_.dimensions(), SMALL);
|
||||
|
||||
solve
|
||||
(
|
||||
fvm::ddt(deltaRho_, hs_)
|
||||
+ fvm::div(phi_, hs_)
|
||||
==
|
||||
// - hsSp_
|
||||
- fvm::Sp(hsSp_/(hs_ + hs0), hs_)
|
||||
- hsSp_
|
||||
+ q(hs_)
|
||||
+ radiation_->Shs()
|
||||
- fvm::SuSp(rhoSp_, hs_)
|
||||
|
||||
Reference in New Issue
Block a user