Apply one step result as next step initial conditions in Workbench
Apply one step result as next step initial conditions in Workbench
(OP)
Hello,
I am currently running a 12 step static structural problem. I want to be able to solve the first load step, go into POST1 and retrieve an X-location (for Fluid Pressure Penetration) then apply that as a set parameter for the next load step and repeat until complete. I am using the following code at the end of my solution APDL (this is set for allsteps)
outres,all,all,
/post1
inres,all
subset,last,last
NSORT,cont,fprs,
NSEL,S,CONT,FPRS,11.16,11.16
NSORT,cont,fprs,,,,SELECT
*get,cont_min,sort,,min
*get,cont_min_nd,sort,,imin
*get,xFPP,NODE,cont_min_nd,Loc,x
/sol
Running this script I keep getting an error being 'An error occurred while attempting to open the results file file.rst.'
Can someone shed some light on this issue I am having?
Thanks
Shelby86
I am currently running a 12 step static structural problem. I want to be able to solve the first load step, go into POST1 and retrieve an X-location (for Fluid Pressure Penetration) then apply that as a set parameter for the next load step and repeat until complete. I am using the following code at the end of my solution APDL (this is set for allsteps)
outres,all,all,
/post1
inres,all
subset,last,last
NSORT,cont,fprs,
NSEL,S,CONT,FPRS,11.16,11.16
NSORT,cont,fprs,,,,SELECT
*get,cont_min,sort,,min
*get,cont_min_nd,sort,,imin
*get,xFPP,NODE,cont_min_nd,Loc,x
/sol
Running this script I keep getting an error being 'An error occurred while attempting to open the results file file.rst.'
Can someone shed some light on this issue I am having?
Thanks
Shelby86





RE: Apply one step result as next step initial conditions in Workbench
RE: Apply one step result as next step initial conditions in Workbench
I gave that a try, but it still gave the same error.
Any other suggestions Stanum?
RE: Apply one step result as next step initial conditions in Workbench
And check fprs is it a valid label? Since you are sorting nodal data, and ask for element result.
RE: Apply one step result as next step initial conditions in Workbench
Yeah the FPRS command is valid.
RE: Apply one step result as next step initial conditions in Workbench
So after each command step, i get this error:
***** ANSYS RESULTS INTERPRETATION (POST1) *****
SORT ON ITEM=CONT COMPONENT=FPRS ORDER= 0 KABS= 0 NMAX= 3125
*** WARNING *** CP = 10.920 TIME= 15:48:18
The requested CONT data is not available. The NSORT command is
ignored.
Now does this mean that contact information only gets resolved and saved at the end of the simulation or is it something else?
Any help would be appreciated.
RE: Apply one step result as next step initial conditions in Workbench