Variable Dependent Boundary Condition
The steps required for a time stepped boundary condition
Step 1
Adding a new variable for the simulation note that you need to check your units.
Step 2
Using command Editor is very important in order to update you boundary condition statues each time step.
Command Editor
LIBRARY:
&replace ADDITIONAL VARIABLE: TotalMass
Option = Definition
Tensor Type = SCALAR
Units = [kg ]
Update Loop = TRANS_LOOP
Variable Type = Specific
END
END
&replace ADDITIONAL VARIABLE: TotalMass
Option = Definition
Tensor Type = SCALAR
Units = [kg ]
Update Loop = TRANS_LOOP
Variable Type = Specific
END
END
Step 3
Equation input into Ansys. This an example of mass flow rate update.
areaAve(dVdt)@REGION:F8.6+massFlow()@REGION:F8.6*Time Step Size
Another example is
areaAve(TT)@REGION:F8.6+maxVal(T)@REGION:F8.6*Time Step Size
areaAve(dVdt)@REGION:F8.6+massFlow()@REGION:F8.6*Time Step Size
Another example is
areaAve(TT)@REGION:F8.6+maxVal(T)@REGION:F8.6*Time Step Size
Step 4
Initial run to get the right initial condition. Where you assign the values of zero for added new variables.
Step 5
Running the time stepped simulation.
Unless otherwise noted, all content on this site is @Copyright by Ahmed Al Makky 2012-2015 - http://cfd2012.com