-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathplumeConfig.yaml
76 lines (75 loc) · 2.98 KB
/
plumeConfig.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Configuration file for buoyant simulation.
# The program overwrites parameters from conf and mconf dicts found
# in <modelDir> (where the trained model is) with parameters found here.
# They just impact the physics of the problem but leave the architecture
# untouched.
# This table is saved to disk, in <outputFolder>, at every iteration and
# is loaded when restarting a sim.
# To restart precise <outputFolder> and set restartSim to true.
# res : Resolution of domain
resX: 128
resY: 128
# restartSim : set to true to restart form checkpoint from outputFolder.
restartSim: false
# realTimePlot : set to true to plot results during simulation.
realTimePlot: true
# saveVTK : set to true to save results as structured VTK files
# use Paraview to load those files.
saveVTK: false
# outputFolder : folder for storing results, checkpoints and config files
outputFolder: "/output/folder"
# simMethod: choose convnet or jacobi
simMethod: "convnet"
# modelDir : location of trained model
modelDir: "/path/to/folder/fluidnet_cxx/trained_models/ScaleNet_ShortTerm_LongTermLoss"
# modelFilename : name of trained model
modelFilename: "convModel"
# dt : simualation timestep
dt: 0.1
# statIter : iterations frequency for output
statIter: 100
# maxIter : maximum number of simulation iterations
maxIter: 20000
# maccormackStrength : used in semi-lagrangian MacCormack advection
# when LT div is activated. 0.6 is a good value. If ~1, can lead to
# high frequency artifacts.
maccormackStrength: 0.6
# buoyancyScale : Buoyancy forces scale
# gravityScale : Gravity forces scale
# Note: Manta and FluidNet divide gravity forces into "gravity" and "buoyancy"
# They represent the two terms arising from Boussinesq approximation
# rho*g = rho_0*g + delta_rho*g
# (1) (2)
# rho_0 being the average density and delta_rho local difference of density
# w.r.t average density.
# Mantaflow calls (1) gravity and (2) buoyancy and allows for different g's
buoyancyScale: 0.25
gravityScale: 0
# Introduces a correcting factor in the denisty equation
# from "A splitting method for incompressible flows with variable
# density based on a pressure Poisson equation" (Guermond, Salgado).
# Not really tested... Recommendation is to leave it as false.
correctScalar: false
# viscosity : introduces a viscous term in moment equation.
# Algortihm taken from the book "Fluid Simulation for Computer Graphics" by
# Bridson
viscosity: 0
# operatingDensity : When applying buoyancy, buoyancyScale is multiplied
# by (density(i,j) - operatingDensity)
operatingDensity: 0.0
# pTol : convergence criterion for Jacobi method
pTol: 0.00
# jacobiIter : maximum number of iterations for Jacobi method
jacobiIter: 200
# gravityVec : orientation of the gravity vector when buoyancy/gravity
# are present.
gravityVec:
x: 0.0
y: -1.0
z: 0.0
# injectionDensity : density at buoyant plume inlet
injectionDensity: 0.1
# sourceRadius : radius of inlet zone w.r.t the center of x-axis
sourceRadius: 0.145
# injectionVelocity : inlet velocity
injectionVelocity: 2