a multiphaseinterfoam tutorial - thermo › ... › presentationannikagram.pdfmultiphaseinterfoam...
TRANSCRIPT
![Page 1: A multiphaseInterFoam Tutorial - Thermo › ... › presentationAnnikaGram.pdfmultiphaseInterFoam based on the VOF method Gamma incompressible multi phase transient](https://reader035.vdocuments.us/reader035/viewer/2022062306/5f035c337e708231d408d43c/html5/thumbnails/1.jpg)
A multiphaseInterFoam Tutorial
Annika Gram
![Page 2: A multiphaseInterFoam Tutorial - Thermo › ... › presentationAnnikaGram.pdfmultiphaseInterFoam based on the VOF method Gamma incompressible multi phase transient](https://reader035.vdocuments.us/reader035/viewer/2022062306/5f035c337e708231d408d43c/html5/thumbnails/2.jpg)
● multiphaseInterFoam● the Case● Code● Results
![Page 3: A multiphaseInterFoam Tutorial - Thermo › ... › presentationAnnikaGram.pdfmultiphaseInterFoam based on the VOF method Gamma incompressible multi phase transient](https://reader035.vdocuments.us/reader035/viewer/2022062306/5f035c337e708231d408d43c/html5/thumbnails/3.jpg)
multiphaseInterFoam
● based on the VOF method● Gamma● incompressible● multi phase● transient
![Page 4: A multiphaseInterFoam Tutorial - Thermo › ... › presentationAnnikaGram.pdfmultiphaseInterFoam based on the VOF method Gamma incompressible multi phase transient](https://reader035.vdocuments.us/reader035/viewer/2022062306/5f035c337e708231d408d43c/html5/thumbnails/4.jpg)
the Case
concrete layer
atmospheric pressure
120 mm
10 mm
10 mm10 mm10 mm H2O
![Page 5: A multiphaseInterFoam Tutorial - Thermo › ... › presentationAnnikaGram.pdfmultiphaseInterFoam based on the VOF method Gamma incompressible multi phase transient](https://reader035.vdocuments.us/reader035/viewer/2022062306/5f035c337e708231d408d43c/html5/thumbnails/5.jpg)
the Case
= 0 + pl n
![Page 6: A multiphaseInterFoam Tutorial - Thermo › ... › presentationAnnikaGram.pdfmultiphaseInterFoam based on the VOF method Gamma incompressible multi phase transient](https://reader035.vdocuments.us/reader035/viewer/2022062306/5f035c337e708231d408d43c/html5/thumbnails/6.jpg)
the Case
![Page 7: A multiphaseInterFoam Tutorial - Thermo › ... › presentationAnnikaGram.pdfmultiphaseInterFoam based on the VOF method Gamma incompressible multi phase transient](https://reader035.vdocuments.us/reader035/viewer/2022062306/5f035c337e708231d408d43c/html5/thumbnails/7.jpg)
Code$FOAM_RUN/splash
In this directory the following folders are to be seen:
0 holding files alphas, alphaair, crete, newcrete, water, pd and U as well as subdirectory hide for the original alpha files
constant holding files dynamicMeshDict, environmentalProperties and transportPropertiesas well as subdirectory polyMesh for the files blockMeshDict, boundary, faces, neighbour, owner and points
system holding files controlDict, decomposeParDict, fvSchemes, fvSolution, setFieldsDict
![Page 8: A multiphaseInterFoam Tutorial - Thermo › ... › presentationAnnikaGram.pdfmultiphaseInterFoam based on the VOF method Gamma incompressible multi phase transient](https://reader035.vdocuments.us/reader035/viewer/2022062306/5f035c337e708231d408d43c/html5/thumbnails/8.jpg)
Code$FOAM_RUN/splash/0
Intitial and boundary conditions are specified in the 0 directory. The following holds for this case: Variable Initial Conditionspd zeroGradient, fixedValue and uniform 0 for atmosphereU fixedValue uniform (0 0 0), inletOutlet for atmosphere
alphaszeroGradient
aphaair alphaContactPropertiesthetaProperties 90 0 0 0 inletOutlet for atmosphereuniform 0
![Page 9: A multiphaseInterFoam Tutorial - Thermo › ... › presentationAnnikaGram.pdfmultiphaseInterFoam based on the VOF method Gamma incompressible multi phase transient](https://reader035.vdocuments.us/reader035/viewer/2022062306/5f035c337e708231d408d43c/html5/thumbnails/9.jpg)
Code$FOAM_RUN/splash/constant
Material properties can be found in the constant directory.
File Initial ConditionsenvironmentalProperties gravitytransportProperties material constants
![Page 10: A multiphaseInterFoam Tutorial - Thermo › ... › presentationAnnikaGram.pdfmultiphaseInterFoam based on the VOF method Gamma incompressible multi phase transient](https://reader035.vdocuments.us/reader035/viewer/2022062306/5f035c337e708231d408d43c/html5/thumbnails/10.jpg)
Code$FOAM_RUN/splash/system
Material properties can be found in the constant directory.
FilesetFieldscontrolDict computation time 0.2 s
![Page 11: A multiphaseInterFoam Tutorial - Thermo › ... › presentationAnnikaGram.pdfmultiphaseInterFoam based on the VOF method Gamma incompressible multi phase transient](https://reader035.vdocuments.us/reader035/viewer/2022062306/5f035c337e708231d408d43c/html5/thumbnails/11.jpg)
CodemyHerschelBulkley.C
return (min(nu0_,(tau0_ + k_*(pow(sr(), n_)
pow(tau0_/nu0_,n_))) / (max(sr(), dimensionedScalar
("VSMALL", dimless/dimTime, VSMALL)))));
![Page 12: A multiphaseInterFoam Tutorial - Thermo › ... › presentationAnnikaGram.pdfmultiphaseInterFoam based on the VOF method Gamma incompressible multi phase transient](https://reader035.vdocuments.us/reader035/viewer/2022062306/5f035c337e708231d408d43c/html5/thumbnails/12.jpg)
Codecd $WM_PROJECT_USER_DIR/src/transportModels/incompressible/Make
wmake libsowmake libso
![Page 13: A multiphaseInterFoam Tutorial - Thermo › ... › presentationAnnikaGram.pdfmultiphaseInterFoam based on the VOF method Gamma incompressible multi phase transient](https://reader035.vdocuments.us/reader035/viewer/2022062306/5f035c337e708231d408d43c/html5/thumbnails/13.jpg)
Codecd $FOAM_RUN/splash
blockMeshcheckMeshsetFieldsmultiphaseInterFoam
![Page 14: A multiphaseInterFoam Tutorial - Thermo › ... › presentationAnnikaGram.pdfmultiphaseInterFoam based on the VOF method Gamma incompressible multi phase transient](https://reader035.vdocuments.us/reader035/viewer/2022062306/5f035c337e708231d408d43c/html5/thumbnails/14.jpg)
Resultscd $FOAM_RUN/splash
paraFoam
![Page 15: A multiphaseInterFoam Tutorial - Thermo › ... › presentationAnnikaGram.pdfmultiphaseInterFoam based on the VOF method Gamma incompressible multi phase transient](https://reader035.vdocuments.us/reader035/viewer/2022062306/5f035c337e708231d408d43c/html5/thumbnails/15.jpg)
Resultscd $FOAM_RUN/splash
paraFoam
![Page 16: A multiphaseInterFoam Tutorial - Thermo › ... › presentationAnnikaGram.pdfmultiphaseInterFoam based on the VOF method Gamma incompressible multi phase transient](https://reader035.vdocuments.us/reader035/viewer/2022062306/5f035c337e708231d408d43c/html5/thumbnails/16.jpg)
Resultscd $FOAM_RUN/splash
paraFoam
![Page 17: A multiphaseInterFoam Tutorial - Thermo › ... › presentationAnnikaGram.pdfmultiphaseInterFoam based on the VOF method Gamma incompressible multi phase transient](https://reader035.vdocuments.us/reader035/viewer/2022062306/5f035c337e708231d408d43c/html5/thumbnails/17.jpg)
Results
● changing transportProperties● adding phases
![Page 18: A multiphaseInterFoam Tutorial - Thermo › ... › presentationAnnikaGram.pdfmultiphaseInterFoam based on the VOF method Gamma incompressible multi phase transient](https://reader035.vdocuments.us/reader035/viewer/2022062306/5f035c337e708231d408d43c/html5/thumbnails/18.jpg)
Questions