Skip to content

Commit 6f9aa5b

Browse files
committed
Fix unsupported syntax
1 parent 3798b8a commit 6f9aa5b

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

fluid_structure_interaction/validation/fsi_turek_FSI2/source/ProjectParameters.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,19 @@
9898
"Parameters" : {
9999
"model_part_name" : "FluidModelPart.AutomaticInlet2D_Inlet",
100100
"variable_name" : "VELOCITY",
101-
"modulus" : "1.5*(0.5*(1-cos(0.5*pi*t))*1.0)*(4.0/0.1681)*y*(0.41-y) if t<2.0 else 1.5*(1.0)*(4.0/0.1681)*y*(0.41-y)",
101+
"modulus" : "1.5*(0.5*(1-cos(0.5*pi*t))*1.0)*(4.0/0.1681)*y*(0.41-y)",
102102
"direction" : "automatic_inwards_normal",
103-
"interval" : [0.0,"End"]
103+
"interval" : [0.0,2.0]
104+
}
105+
},{
106+
"python_module" : "apply_inlet_process",
107+
"kratos_module" : "KratosMultiphysics.FluidDynamicsApplication",
108+
"Parameters" : {
109+
"model_part_name" : "FluidModelPart.AutomaticInlet2D_Inlet",
110+
"variable_name" : "VELOCITY",
111+
"modulus" : "1.5*(1.0)*(4.0/0.1681)*y*(0.41-y)",
112+
"direction" : "automatic_inwards_normal",
113+
"interval" : [2.0,"End"]
104114
}
105115
},{
106116
"python_module" : "apply_outlet_process",

0 commit comments

Comments
 (0)