/multiphaseEulerPbeFoam/zonePhaseVolumes.H (5f8f3fb19a97401c51a89a032b116c3fc7c51754) (718 bytes) (mode 100644) (type blob)
{
const scalarField& V = mesh.V();
forAll(mesh.cellZones(), czi)
{
const labelList& cellLabels = mesh.cellZones()[czi];
forAllConstIter(PtrDictionary<phaseModel>, fluid.phases(), iter)
{
const volScalarField& alpha = iter();
scalar phaseVolume = 0;
forAll(cellLabels, cli)
{
label celli = cellLabels[cli];
phaseVolume += alpha[celli]*V[celli];
}
reduce(phaseVolume, sumOp<scalar>());
Info<< alpha.name()
<< " phase volume in zone " << mesh.cellZones()[czi].name()
<< " = " << phaseVolume*1e6 << " ml " << endl;
}
}
}
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
1678 |
eafd65dc86ce0addd22b8a6fc9f915452304e6a0 |
.gitignore |
100644 |
blob |
35087 |
388bc6322ccd6364794f92bdc22c3bc7121d4be0 |
LICENSE |
100644 |
blob |
1871 |
0c953b080b0c626c4ccc220d9c7d77005b8f2b1b |
README.md |
040000 |
tree |
- |
d1f7ee27a1a04274eb1e539108870fc6bada9d59 |
multiphaseEulerPbeFoam |
040000 |
tree |
- |
f9a7003d143a63a933e01eb9e150798b0ee54168 |
squareSettler |
040000 |
tree |
- |
4093cc709bb89943c79dbded845b542990ac3e45 |
testCase |
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/velagala/MultiPhaseQBMM
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/velagala/MultiPhaseQBMM
Clone this repository using git:
git clone git://git.rocketgit.com/user/velagala/MultiPhaseQBMM
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main