TAGGED: ansysaqwa, aqwa, auto-time-stepping, automation, hydrodynamic, imported-pressure, script
-
-
March 8, 2024 at 10:38 am
James Taylor
SubscriberHello,
I have an Aqwa simulation which performs a 1-hour time domain analysis on a moored floating structure, with 0.5s time steps. I export the pressure and mooring load results from this into a Mechanical environment to run quasi-static simulations. I cannot run all time steps in one go, as my computer does not have the memory and the program crashes.
Instead, I tried to write a script which runs a single time step pressure and cable loads, then solves and exports the results. The script then updates the time step in the imported pressure module, and re-runs for all time steps.Â
I have discovered that my script is updating the time step and running the simulation each time, but it is not actually updating the load values for the Aqwa pressure or mooring loads for the time step it is on. I am getting the same results for all steps.
What's strange is that I have recorded the manual actions necessary to update the loads, which writes the corresponding script. However for some reason when executed the script will not do this automatically.
Does anyone know if there is a way to ensure the imported Aqwa loads also update with the time step through scripting? Or could anyone suggest a better approach for automating this process?
Thank you
Â
-
March 13, 2024 at 10:13 am
Mike Pettit
Ansys EmployeeHi James,
Does your script include a command like
hydro_pressure.NotifyChange()
where hydro_pressure is the Hydrodynamic Pressure object, after you set the time step? This is required to get the Mechanical UI to process the change and set the object/solution states.
I hope this helps!
Mike
-
March 13, 2024 at 3:58 pm
James Taylor
SubscriberHi Mike,
Thanks for getting back to me. I have included this command - it works for the first attempt but will not work in a for-loop for subsequent steps. It updates the timestep but not the load values.
I've tried to use this command with the cable force modules also. It doesn't appear to work when these modules have question marks beside them, which happens each time the hydro pressure time step is updated.
I've attached an image of my code, I hope it makes sense.
Â
-
-
- The topic ‘Automation of Aqwa Load Simulations in Mechanical Using Scripts’ is closed to new replies.
- Adjoint Method for Optimising Diodicity of Tesla Valve
- Response constraint not allowing structural optimization to solve.
- ACP-pre Parameters: Ply Material issue
- The trouble-shooting that using python to control HFSS
- Protected Depth Topology Optimisation
- Harmonic Frequency respons into signal processing
- Fluent Editor Error
- how to get stress at a node and put it in a parameter for use with optimization
- Add Parameter so existing set
- optislang tutorial: damped oscillator calibration
-
2773
-
960
-
835
-
599
-
591
© 2025 Copyright ANSYS, Inc. All rights reserved.