Frequently Asked Questions [FAQs]¶
Over the years, we have gathered a valuable experience running SHARPy so we would like to collect here a few of the most frequently asked questions we get here to hopefully help other users.
[Q] I get a
ModuleNotFound Errorwhen trying to run SHARPy.
[A] Make sure you have loaded the SHARPy variables using the command
[Q] When plotting the aerodynamic forces in Paraview from the UVLM, the forces at the boundary between two surfaces (for instance at the wing root) appears halved. Is my simulation incorrect?
[A] This is most likely not an issue with your simulation. We have observed over time that Paraview actually only plots the result from one of the surfaces, hence why it appears half of what it should be. If you extract the forces without using Paraview using the WriteVariablesTime postprocessor you will get the correct result.
[Q] My time-domain simulation does not converge. I get a
SolverNotConvergederror. What can I do?
[A] This is quite an open question and it could be for a wide variety of reasons. Things that should be in your First Aid kit for these situations:
Is your tolerance appropriate? If you raise the tolerance to something (maybe unreasonably) high does it converge?
Is your number of iterations sufficient? Increase the number of maximum allowed iterations.
Is there anything happening at all in your simulation? We have all fallen into the trap of trying to run a time domain simulation of something that is already in steady state. I.e. you calculate its static equilibrium and then try to advance in time. Since nothing is happening the convergence criteria in the solvers may not be triggered and reach the maximum number of iterations. Solution: make sure something happens in your time domain simulation: gusts, external forces, control surface deflections…
Are you giving your simulation too much of a “kick”? Sometimes we simulate things that dramatically change the state of the problem from one time step to another (like adding very large external forces at once) which may lead to trouble. You can choose to load the forces progressively by increasing the
num_load_stepssetting in our structural solvers.
Hopefully this list will grow over time with some of the common questions previous users encounter. If you cannot solve
your problem please open an issue on Github and assign it the
label:question so we can keep track of it and others can benefit of the discussion.