mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: multiphaseInter: ensure consistent Hf treatment for phases
TUT: icoReactingMultiphaseInterFoam: update thermophysicalProperties.liquid
This commit is contained in:
@ -121,7 +121,7 @@ Foam::MassTransferPhaseSystem<BasePhaseSystem>::calculateL
|
|||||||
|
|
||||||
const word species(speciesName.substr(0, speciesName.find('.')));
|
const word species(speciesName.substr(0, speciesName.find('.')));
|
||||||
|
|
||||||
L += pos(dmdtNetki)*interfacePtr->L(species, T);
|
L -= pos(dmdtNetki)*interfacePtr->L(species, T);
|
||||||
}
|
}
|
||||||
|
|
||||||
return tL;
|
return tL;
|
||||||
@ -240,7 +240,7 @@ Foam::MassTransferPhaseSystem<BasePhaseSystem>::heatTransfer
|
|||||||
|
|
||||||
if (KSp.valid())
|
if (KSp.valid())
|
||||||
{
|
{
|
||||||
Sp -= KSp.ref();
|
Sp += KSp.ref();
|
||||||
}
|
}
|
||||||
|
|
||||||
tmp<volScalarField> KSu =
|
tmp<volScalarField> KSu =
|
||||||
@ -248,13 +248,13 @@ Foam::MassTransferPhaseSystem<BasePhaseSystem>::heatTransfer
|
|||||||
|
|
||||||
if (KSu.valid())
|
if (KSu.valid())
|
||||||
{
|
{
|
||||||
Su -= KSu.ref();
|
Su += KSu.ref();
|
||||||
}
|
}
|
||||||
|
|
||||||
// If linearization is not provided used full explicit
|
// If linearization is not provided used full explicit
|
||||||
if (!KSp.valid() && !KSu.valid())
|
if (!KSp.valid() && !KSu.valid())
|
||||||
{
|
{
|
||||||
Su -= *dmdt_[keyik];
|
Su += *dmdt_[keyik];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Copyright (C) 2020 Henning Scheufler
|
Copyright (C) 2020 Henning Scheufler
|
||||||
Copyright (C) 2020-2021 OpenCFD Ltd.
|
Copyright (C) 2020-2022 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -223,7 +223,7 @@ Foam::meltingEvaporationModels::interfaceHeatResistance<Thermo, OtherThermo>
|
|||||||
auto tempOpen = fullSpeciesName.find('.');
|
auto tempOpen = fullSpeciesName.find('.');
|
||||||
const word speciesName(fullSpeciesName.substr(0, tempOpen));
|
const word speciesName(fullSpeciesName.substr(0, tempOpen));
|
||||||
|
|
||||||
tmp<volScalarField> L = this->L(speciesName, T);
|
tmp<volScalarField> L = mag(this->L(speciesName, T));
|
||||||
|
|
||||||
htc_ = R_/L();
|
htc_ = R_/L();
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
\\ / A nd | www.openfoam.com
|
\\ / A nd | www.openfoam.com
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Copyright (C) 2017-2021 OpenCFD Ltd.
|
Copyright (C) 2017-2022 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -206,7 +206,7 @@ Foam::meltingEvaporationModels::kineticGasEvaporation<Thermo, OtherThermo>
|
|||||||
);
|
);
|
||||||
|
|
||||||
word speciesName = IOobject::member(this->transferSpecie());
|
word speciesName = IOobject::member(this->transferSpecie());
|
||||||
tmp<volScalarField> L = this->L(speciesName, T);
|
tmp<volScalarField> L = mag(this->L(speciesName, T));
|
||||||
|
|
||||||
updateInterface(T);
|
updateInterface(T);
|
||||||
|
|
||||||
|
|||||||
@ -39,7 +39,7 @@ mixture
|
|||||||
thermodynamics
|
thermodynamics
|
||||||
{
|
{
|
||||||
Cp 4181;
|
Cp 4181;
|
||||||
Hf 2.45e6;//-1.5833e7;//deltaHv 2.45e6; //[J/Kg]
|
Hf -2.45e6; //[J/Kg]
|
||||||
}
|
}
|
||||||
transport
|
transport
|
||||||
{
|
{
|
||||||
|
|||||||
@ -40,7 +40,7 @@ mixture
|
|||||||
thermodynamics
|
thermodynamics
|
||||||
{
|
{
|
||||||
Cp 4181;
|
Cp 4181;
|
||||||
Hf 2.45e6; //[J/Kg]
|
Hf -2.45e6; //[J/Kg]
|
||||||
}
|
}
|
||||||
transport
|
transport
|
||||||
{
|
{
|
||||||
|
|||||||
@ -39,7 +39,7 @@ mixture
|
|||||||
thermodynamics
|
thermodynamics
|
||||||
{
|
{
|
||||||
Cp 4216;
|
Cp 4216;
|
||||||
Hf 2.45e6;
|
Hf -2.45e6;
|
||||||
}
|
}
|
||||||
transport
|
transport
|
||||||
{
|
{
|
||||||
|
|||||||
@ -41,7 +41,7 @@ mixture
|
|||||||
thermodynamics
|
thermodynamics
|
||||||
{
|
{
|
||||||
Cp 381;
|
Cp 381;
|
||||||
Hf 0;
|
Hf 8.016e4;
|
||||||
}
|
}
|
||||||
transport
|
transport
|
||||||
{
|
{
|
||||||
|
|||||||
@ -39,7 +39,7 @@ mixture
|
|||||||
thermodynamics
|
thermodynamics
|
||||||
{
|
{
|
||||||
Cp 381;
|
Cp 381;
|
||||||
Hf 8.016e4;//[J/Kg];
|
Hf 0; //[J/Kg];
|
||||||
}
|
}
|
||||||
transport
|
transport
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user