.TAeZoSysPro.HeatTransfer.Functions.MeshGrid.uniformGrid

Information

uniformGrid

This functions gives the position of the vertices that form segments. The position is computed to insure an equal distance between all the vertices. The distance between vertices derives:

Where :

A mesh divided into N segments contains N+1 vertices. That is why the size of x is N+1.

Interface

function uniformGrid
  input Modelica.SIunits.Length L "Length of the domain to mesh";
  input Integer N "number of segments";
  output Modelica.SIunits.Position x[N + 1] "Vector of vertice position";
end uniformGrid;

Generated at 2024-12-22T19:25:51Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos