CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

JohnsonJackson BC in twoPhaseEulerFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 9, 2021, 13:46
Default JohnsonJackson BC in twoPhaseEulerFoam
  #1
New Member
 
Mohsen Zarepour
Join Date: Feb 2021
Posts: 10
Rep Power: 5
moz455 is on a distinguished road
Hi,
I am looking at the Theta Johnson Jackson boundary condition. I do not see the rho in the code while we have it in the original formula. I have attached the formula and the related part of the code from JohnsonJacksonParticleThetaFvPatchScalarField.C is:
// calculate the reference value and the value fraction
if (restitutionCoefficient_.value() != 1.0)
{
this->refValue() =
(2.0/3.0)
*specularityCoefficient_.value()
*magSqr(U)
/(scalar(1) - sqr(restitutionCoefficient_.value()));

this->refGrad() = 0.0;

scalarField c
(
constant::mathematical:i
*alpha
*gs0
*(scalar(1) - sqr(restitutionCoefficient_.value()))
*sqrt(3*Theta)
/max(4*kappa*alphaMax.value(), SMALL)
);

this->valueFraction() = c/(c + patch().deltaCoeffs());
}

// for a restitution coefficient of 1, the boundary degenerates to a fixed
// gradient condition
else
{
this->refValue() = 0.0;

this->refGrad() =
pos0(alpha - SMALL)
*constant::mathematical:i
*specularityCoefficient_.value()
*alpha
*gs0
*sqrt(3*Theta)
*magSqr(U)
/max(6*kappa*alphaMax.value(), SMALL);

this->valueFraction() = 0;
}

mixedFvPatchScalarField::updateCoeffs();
}
moz455 is offline   Reply With Quote

Reply

Tags
johnsonjackson, twophaseeulerfoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
twoPhaseEulerFoam: sudden crash hcen OpenFOAM Running, Solving & CFD 18 September 29, 2020 04:04
twoPhaseEulerFoam validation OpenFOAM 4.1 jiejie OpenFOAM Running, Solving & CFD 4 April 20, 2019 04:06
twoPhaseEulerFoam fluidized bed wrong results FabianB OpenFOAM Running, Solving & CFD 0 June 14, 2017 04:48
Is twoPhaseEulerFoam applicable to 3D cases / delivering erroneous results? ThomasV OpenFOAM 0 November 11, 2013 09:10
twoPhaseEulerFoam freemankofi OpenFOAM 0 May 23, 2011 17:24


All times are GMT -4. The time now is 20:23.