ENH: Updated film enthalpy source treatment

This commit is contained in:
andy
2011-05-03 15:54:41 +01:00
parent 6fea2cd9f7
commit b333a3118b
2 changed files with 2 additions and 5 deletions

View File

@ -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);

View File

@ -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_)