File tree Expand file tree Collapse file tree
kratos.gid/apps/FSI/examples Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -175,12 +175,13 @@ proc FSI::examples::TreeAssignationTurekBenchmark {args} {
175175 spdAux::SetValuesOnBaseNode $fluidNode $props
176176
177177 set fluidConditions {container[@n='FSI']/container[@n='Fluid']/container[@n='BoundaryConditions']}
178+
178179 # Fluid Interface
179180 set fluidInlet " $fluidConditions /condition\[ @n='AutomaticInlet$nd '\] "
180-
181+
181182 # Fluid Inlet
182- set function { 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)}
183- Fluid::xml::CreateNewInlet Inlet {new false name Total } true $function
183+ Fluid::xml::CreateNewInlet Inlet {new true name interval1 ini 0 end 2.0} true " 1.5*(0.5*(1-cos(0.5*pi*t))*1.0)*(4.0/0.1681)*y*(0.41-y)"
184+ Fluid::xml::CreateNewInlet Inlet {new true name interval2 ini 2.0 end end } true " 1.5*(1.0)*(4.0/0.1681)*y*(0.41-y) "
184185
185186 # Fluid Outlet
186187 set fluidOutlet " $fluidConditions /condition\[ @n='Outlet$nd '\] "
You can’t perform that action at this time.
0 commit comments