Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Hydraulic Domain

The hydraulic domain declaration is shown below.

domain hydraulic
% Hydraulic Domain

% Copyright 2005-2013 The MathWorks, Inc.

  parameters
    density       = { 850   , 'kg/m^3' }; % Fluid density
    viscosity_kin = { 18e-6 , 'm^2/s'  }; % Kinematic viscosity
    bulk          = { 0.8e9 , 'Pa'     }; % Bulk modulus at atm. pressure and no gas
    alpha         = { 0.005 , '1'      }; % Relative amount of trapped air
  end

  variables
    p = { 0 , 'Pa' };
  end

  variables(Balancing = true)
    q = { 0 , 'm^3/s' };
  end

end

It contains the following variables and parameters:

  • Across variable p (pressure), in Pa

  • Through variable q (flow rate), in m^3/s

  • Parameter density, specifying the default fluid density

  • Parameter viscosity_kin, specifying the default kinematic viscosity

  • Parameter bulk, specifying the default fluid bulk modulus at atmospheric pressure and no gas

  • Parameter alpha, specifying the default relative amount of trapped air in the fluid

To refer to this domain in your custom component declarations, use the following syntax:

foundation.hydraulic.hydraulic 

Was this topic helpful?