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 @@ -188,12 +188,13 @@ proc FSI::examples::TreeAssignationMokChannelFlexibleWall {args} {
188188 spdAux::SetValuesOnBaseNode $fluidNode $props
189189
190190 set fluidConditions {container[@n='FSI']/container[@n='Fluid']/container[@n='BoundaryConditions']}
191+
191192 # Fluid Interface
192193 set fluidInlet " $fluidConditions /condition\[ @n='AutomaticInlet$nd '\] "
193194
194195 # Fluid Inlet
195- set function {0. 1214*(1-cos(0.1*pi*t))*y*(1-y) if t<10 else 0.2428*y*(1-y)}
196- Fluid::xml::CreateNewInlet Inlet {new false name Total } true $function
196+ Fluid::xml::CreateNewInlet Inlet {new true name interval1 ini 0 end 10.0} true " 0. 1214*(1-cos(0.1*pi*t))*y*(1-y)"
197+ Fluid::xml::CreateNewInlet Inlet {new true name interval2 ini 10.0 end end } true " 0.2428*y*(1-y) "
197198
198199 # Fluid Outlet
199200 set fluidOutlet " $fluidConditions /condition\[ @n='Outlet$nd '\] "
You can’t perform that action at this time.
0 commit comments