/
cyclone.json
63 lines (63 loc) · 1.01 KB
/
cyclone.json
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
// -*- mode: javascript -*-
{
"Name": "Cyclone Fluid Mechanics",
"ShortName":"Cyclone_Fluid",
"Models":
{
"equations":"Stokes" // "Navier-Stokes" // "Stokes", "Navier-Stokes"
},
//tag::params[]
"Materials":
{
"internal_volume":
{
"name":"Water",
"rho":998, // [kg/m^3]
"mu":1e-3 // [Pa.s]
}
},
// end::params[]
// tag::bc[]
"BoundaryConditions":
{
"velocity":
{
"Dirichlet":
{
"wall":
{
"expr":"{0,0,0}"
}
}
},
"fluid":
{
"inlet":
{
"inlet":
{
"expr":"1e-3", // [m^3/s]
"shape":"parabolic", // constant, parabolic
"constraint":"flow_rate" // velocity_max, flow_rate
}
},
"outlet":
{
"gas_outlet":
{
"expr":"0"
}
}
}
},
//end::bc[]
//tag::export[]
"PostProcess":
{
"Exports":
{
"fields":["velocity","pressure","pid"]
}
}
//end::export[]
}