Ken Kundert
|
I can give you and example of the syntax, but I am not familiar enough with fluidic systems to be able to choose the right quantities, units, and tolerances.
First you have to define the natures. These describe the signals that you will be using. In fluidic systems, I'm guessing that the models will be formulated in terms of pressure and flow or flow rate. You would probably use flow if the fluidic movement were a finite displacement, and flow rate if were a constant stream. The natures might look something like these ...
// Pressure in Newtons per square meter nature Pressure units = “N/m^2”; access = P; abstol = 1p; endnature
// Flow in cubic meters nature Flow units = “m^3”; access = F; abstol = 1p; endnature
// Flow rate in cubic meters per second nature FlowRate units = “m^3/s”; access = FR; abstol = 1p; endnature
You will definitely need to adjust the abstols for these natures. Choose the largest signal level that is always negligible as your abstol. Choosing it too large reduces accuracy, choosing it too small can cause convergence problems.
Finally, you need disciplines, which are nothing more than a pairing of natures.
// Displacement Fluidic discipline displacement_fluidic potential Pressure; flow Flow; enddiscipline
// Stream Fluidic discipline stream_fluidic potential Pressure; flow FlowRate; enddiscipline
-Ken
|