WVModel

Integrate a fluid state represented by a WVTransform.


Declaration

classdef WVModel < handle

Overview

Construct a transform and use it to initialize the model:

wvt = WVTransformConstantStratification([40e3,30e3,2e3],[8,6,9],N0=5.2e-3,latitude=45);
model = WVModel(wvt);

By default WVModel integrates the transform’s nonlinear forcing and registers its coefficient observing system. Pass shouldUseLinearDynamics=true for analytical linear evolution. Use setupIntegrator to change time-stepping settings.

Model output is assembled in three layers: a model owns one or more WVModelOutputFile objects, each file contains one or more WVModelOutputGroup schedules, and each group writes one or more WVObservingSystem objects. Observing systems with flux components, including coefficients, particles, and tracers, are integrated alongside the transform state; other observing systems sample it at output times.

Restore a model and its output graph from one restart-capable file:

model = WVModel.modelFromFile("SomeFile.nc");

Topics

Developer Topics

These items document internal implementation details and are not part of the primary public API.



This site uses Just the Docs, a documentation theme for Jekyll.