MFX FSI: How to apply time-varying load?
I'd like to apply time-varying load on structure in a MFX FSI analysis.
However, I am very confused about how to set up the procedure in MFX.
Currently I guess it's a multiframe restart, but I am not sure.
Maybe you can help me.
Suppose the load is a time-varying concentrated force to be applied on node 90.
The magnitude of the load is:
From t=0-1, ramped, force from 0 to 1
From t=1-2, force kept at 1
From t=2-3, stepped, force = 0
From t=3-4, stepped, force = 3
From t=4-5, ramped, from from 3 to 0
Under this situation, What is the corresponding APDL code in the MFX /SOLU part to apply the force on node 90 from t=0 to t=5?
Thank you for clarifying my confusion on this issue!
Are you setting this up in Workbench? If so just set your analysis end time to 5 seconds (this isn't used, but you can't setup the load without this) with 1 loadsteps then apply the force via the Tabular Date option. In the table just start entering the time values with the required force values. To get a step change use two time values that are only 1 time step size apart.
Thank you for your reply, stumpy.
I was away from this problem for a while because of other tasks.
I wonder if there are corresponding APDL codes for the task you mention in Workbench?
Personally I am more familiar with APDL, and it really speeds up my progress without touching Workbench. Or if it's not a possibility, maybe you can direct me to a Workbench example and I'll start from there. Thank you!
In the end WB is generating APDL commands, so it's certainly possible in APDL. I don't know the commands, but you could set up a simple example and write out the input file from Workbench, then you can see what commands were used.
Create a table parameter in ansys.
For example if you are applying force in the x direction in the create a table called xforce:
!!time in sec
!!force in x direction
The above will always ramp the loads. We get a step by using a very small time step in the ramp to simulate a step function.
Apply the load as follows:
Dear stumpy and Edmund:
Thank you for your tips on WB and table parameter!
I worked on the CFX tutorial - Oscillating Plate with Two-way Fluid Structure Interaction, and noticed the WB exports stepped pressure load in table parameter as you suggested.
Following Edmund's suggestion, I ran a small case of concentrated load of table parameter on a cantilever beam to familiarize myself with the function.
However, I encounterd an error message: "Present time 0 is less or equal to the previous time in a transient analysis."
I am not sure what's really happening. Would you please comment on this? Thank you!
And below is my APDL code:
!!time in sec
!!force in x direction
I am not seeing any time control in your scripting. Also, this error could be when you try a restart and you set the time to something other (smaller) that the restart file time.
Either run this in a clean directory, or you can use the following command with ANTYPE to specify a new analysis.
To specify run time add:
You will also need to specify the timestepping. Please look up the command NSUBST or DELTIM. Also readup on SOLCONTROL and AUTOTS. If you dont specify timestepping, ansys could autotimestep right over all of your BC changes. Be careful.
Hi, Edmund and stumpy:
Thank you for all your tips on my issue.
I added 'AUTOS','DELTIM', and 'OUTRES' controls into my code, and the step loading can be reproduced correctly.
I also tried the step loading in the FSI example of piezoelectric-actuated pump, and the analysis runs without problems.
Thanks again for your help!
|All times are GMT -4. The time now is 19:55.|