Skip to content
Snippets Groups Projects
Commit 41c7d65b authored by Matthias Arnoldi's avatar Matthias Arnoldi
Browse files

neue Folien

parent d1f41e5b
Branches
Tags
No related merge requests found
...@@ -13,12 +13,12 @@ FoamFile ...@@ -13,12 +13,12 @@ FoamFile
object T; object T;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
kg m s K mol ..
dimensions [0 0 0 0 0 0 0]; //Dimension festlegen
dimensions [0 0 0 0 0 0 0]; internalField uniform ; //Wert für internal field
internalField uniform ; boundaryField //hier sollen die Randbedingungen für die Temperatur eingetragen werden. Vorlage: p
boundaryField
{ {
ASCII ASCII
{ {
......
...@@ -21,20 +21,27 @@ patches ...@@ -21,20 +21,27 @@ patches
( (
{ {
// Name of new patch // ab hier wird der Patch inlet_one aus dem FaceSet inlet_set_one konstruiert
// Name des zu konstruierenden PATCHES
name inlet_one; name inlet_one;
// Type of new patch // Type des patch
patchInfo patchInfo
{ {
type patch; type patch;
} }
// How to construct: either from 'patches' or 'set' //Anweisung, den Patch von einem faceSet zu konstruieren
constructFrom set; constructFrom set;
// If constructFrom = patches : names of patches. Wildcards allowed. //Name des FACESETS (mit topoSet erstellt), von dem der Patch konstruiert werden soll
set inlet_set_one; set inlet_set_one;
//Ab hier ist Platz für die Konstruktion der patches inlet_two und outlet
} }
......
...@@ -17,22 +17,16 @@ FoamFile ...@@ -17,22 +17,16 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
surfaceFile ".stl"; surfaceFile ".stl"; //hier muss der Name der .stl-Datei ergänzt werden
maxCellSize 0.8; maxCellSize 0.8;
boundaryCellSize 0.4; boundaryCellSize 0.4;
//boundaryLayers
//{
// nLayers 3;
//
// thicknessratio 1.1;
//
// maxFirstLayerThickness 0.5;
//
//}
// ************************************************************************* // // ************************************************************************* //
...@@ -27,19 +27,21 @@ name ASCII; ...@@ -27,19 +27,21 @@ name ASCII;
} }
} }
//der obere Block wird nicht jedes mal mit kopiert sondern steht nur einmal am Anfang
{ {
name inlet_set_one; name inlet_set_one; //Name des FaceSets inlet_set_one
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
sourceInfo sourceInfo
{ {
name ASCII; name ASCII;
box (-13.6673 0.0 0.0) (-13.667 5.0 2.0); box (<xmin> <ymin> <zmin>) (<xmax> <ymax> <zmax>); //Box für faceSet inlet_set_one, hier müssen die richtigen Koordinaten eingetragen werden
} }
} }
{ {
name inlet_set_one; name inlet_set_one; //Block als Funktion, dass nur nach außen zeigende faces zum Set hinzugefügt werden
type faceSet; type faceSet;
action subset; action subset;
source boundaryToFace; source boundaryToFace;
...@@ -47,6 +49,7 @@ name ASCII; ...@@ -47,6 +49,7 @@ name ASCII;
{ {
} }
} }
//ab hier inlet_set_two und outlet_set konstruieren (vgl. inlet_set_one)
); );
......
File added
File added
File added
File added
//Hier sollen die Gleichungen für die Reaktion und die Viskosität implementiert werden
//Hinweis: c_poly = c_poly + delta c_poly
//Hinweis: c_mono = c_mono - delta c_monoo
fvScalarMatrix TEqn
//hier soll die skalare Transportgleichung für die Temperatur implementiert werden (Vorlage: in Main: UEqn)
TEqn.solve();
Info<< "T was calulated\n" << endl;
fvScalarMatrix YEqn_mono
(
//hier soll die Transportgleichung für c_mono implementiert werden (Vorlage: TEqn.H)
);
YEqn_mono.relax();
YEqn_mono.solve();
Info<< "C_mono was calulated\n" << endl;
fvScalarMatrix YEqn_poly
(
//hier soll die Transportgleichung für c_poly implementiert werden (Vorlage: TEqn.H)
);
YEqn_poly.relax();
YEqn_poly.solve();
Info<< "C_poly was calulated\n" << endl;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment