(3) Simulation Definition
FLOWUnsteady.Simulation
— TypeSimulation{V<:AbstractVehicle, M<:AbstractManeuver, R<:Real}(vehicle::V,
maneuver::M, Vref::R, RPMref::R, ttot::R, optargs...)
Simulation interface. This type carries the simulation's options and connects vehicle and maneuver together.
ARGUMENTS
vehicle
: Vehiclemaneuver
: ManeuverVref
: Reference velocity for the maneuverRPMref
: Reference RPM for the maneuverttot
: Total time in which to perform the maneuver
OPTIONAL ARGUMENTS
Vinit = zeros(3)
: Initial vehicle velocityWinit = zeros(3)
: Initial vehicle angular velocity
State variables
t::Real
: Time of current stepnt::Int
: Current time step number
FLOWUnsteady.save_vtk
— Functionsave_vtk(self::AbstractVehicle, prefix; path="", optargs...)
Output VTK files with vehicle geometry and solution fields.
save_vtk(sim::Simulation, prefix; path="", save_wopwopin=false, optargs...)
Output VTK files with vehicle geometry and solution fields. The file names will have the prefix prefix
, and will be saved in the directory path
. If save_wopwopin=true
, it will also generate PSU-WOPWOP input files that can be used to run the acoustic analysis (see run_noise_wopwop
).