File tree Expand file tree Collapse file tree 3 files changed +78
-4
lines changed
abruptContraction/interPhaseChangeFoam/system Expand file tree Collapse file tree 3 files changed +78
-4
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ startTime 0;
2222
2323stopAt endTime;
2424
25- endTime 1 ;
25+ endTime 0.01 ;
2626
27- deltaT 1e-8 ;
27+ deltaT 1e-5 ;
2828
2929writeControl adjustableRunTime;
3030
31- writeInterval 0.01 ;
31+ writeInterval 0.001 ;
3232
3333purgeWrite 0 ;
3434
@@ -42,9 +42,14 @@ timeFormat general;
4242
4343runTimeModifiable yes;
4444
45- adjustTimeStep on ;
45+ adjustTimeStep off ;
4646
4747maxCo 1 ;
4848
49+ functions
50+ {
51+ #includeFunc " surfaces"
52+ #includeFunc " probes"
53+ }
4954
5055// ************************************************************************* //
Original file line number Diff line number Diff line change 1+ /* --------------------------------*- C++ -*----------------------------------*\
2+ ========= |
3+ \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4+ \\ / O peration |
5+ \\ / A nd | Web: www.OpenFOAM.org
6+ \\/ M anipulation |
7+ -------------------------------------------------------------------------------
8+ Description
9+ Writes out values of fields from cells nearest to specified locations.
10+
11+ \*---------------------------------------------------------------------------*/
12+
13+ #includeEtc " caseDicts/postProcessing/probes/probes.cfg"
14+
15+ fields (p);
16+ probeLocations
17+ (
18+ (0.1 0 0.09 )
19+ (0.15 0 0.09 )
20+ (0.215 0 0 )
21+ (0.245 0 0 )
22+ (0.275 0 0 )
23+ (0.375 0 0 )
24+ (0.555 0 0 )
25+ );
26+
27+ // ************************************************************************* //
Original file line number Diff line number Diff line change 1+ /* --------------------------------*- C++ -*----------------------------------*\
2+ ========= |
3+ \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4+ \\ / O peration |
5+ \\ / A nd | Web: www.OpenFOAM.org
6+ \\/ M anipulation |
7+ -------------------------------------------------------------------------------
8+ Description
9+ Writes out surface files with interpolated field data in VTK format, e.g.
10+ cutting planes, iso-surfaces and patch boundary surfaces.
11+
12+ This file includes a selection of example surfaces, each of which the user
13+ should configure and/or remove.
14+
15+ \*---------------------------------------------------------------------------*/
16+
17+ #includeEtc " caseDicts/postProcessing/visualization/surfaces.cfg"
18+
19+ fields (p U alpha.water);
20+
21+ surfaces
22+ (
23+
24+ yNormal
25+ {
26+ $cuttingPlane;
27+ pointAndNormalDict
28+ {
29+ normalVector $y; // Overrides default normalVector (1 0 0)
30+ } // $y: macro for (0 1 0)
31+ }
32+
33+ waterSurface
34+ {
35+ $isosurface;
36+ isoField alpha.water ;
37+ isoValue 0.50 ;
38+ }
39+
40+ );
41+
42+ // ************************************************************************* //
You can’t perform that action at this time.
0 commit comments