|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.physics.fluids.dynamics.mesh.NavierStokesMesh
public class NavierStokesMesh
Load, storage and manipulation of meshses for Navier-Stokes. The ideal solution would be to unify this class and the Mesh class (lineal) in one which implements an interface.
This class loads a mesh with triangular quadratic elements and from there, composes the lineal mesh of pressures.
| Field Summary | |
|---|---|
protected double[][] |
coordl
Vector with the coordinates of the linear nodes. |
protected double[][] |
coordq
Vector with the coordinates of the quadratic nodes. |
int[] |
l1Slip
List of quadratic nodes L1 in the slip contour. |
int[] |
l2Slip
List of quadratic nodes L2 in the slip contour. |
double[] |
lengthSlip
List of lengths of the segments in the slip contour. |
int[] |
lq
Array of conversion of linear to quadratic. |
int[] |
nDirichletl
DOCUMENT ME! |
int[] |
nDirichletq
DOCUMENT ME! |
int[] |
nDragLiftl
DOCUMENT ME! |
int[] |
nDragLiftq
DOCUMENT ME! |
int[] |
nNeumannl
DOCUMENT ME! |
int[] |
nNeumannq
DOCUMENT ME! |
protected int[][] |
nodesl
Vector con the linear nodes that form a given element. |
protected int[][] |
nodesq
Vector con the quadratic nodes that form a given element. |
int[] |
nPerfilDirichletq
DOCUMENT ME! |
int[] |
nSlipl
DOCUMENT ME! |
int[] |
nSlipq
DOCUMENT ME! |
double[] |
nxSlip
Component list X of the normal in the slip contour. |
double[] |
nySlip
Component list Y of the normal in the slip contour. |
int[] |
ql
Array of conversion of quadratic to lineal. |
int[] |
qSlip
List of quadratic nodes Q in the slip contour. |
double[][] |
vDirichletl
DOCUMENT ME! |
double[][] |
vDirichletq
DOCUMENT ME! |
double[] |
vNeumannl
DOCUMENT ME! |
double[] |
vNeumannq
DOCUMENT ME! |
| Constructor Summary | |
|---|---|
NavierStokesMesh(KernelADFC kadfc)
Constructor. |
|
| Method Summary | |
|---|---|
double[] |
calculateInterpolatedField(double[] quadField,
double[] linealField)
interpolate a lineal field to a quadratic one. |
int |
containingElement(double x0,
double y0)
Returns the element that contains the given point. |
int[] |
elementReferencesNode()
DOCUMENT ME! |
int[] |
elementReferencesNodeQuad()
DOCUMENT ME! |
double |
evaluateIntegral(double[] par)
DOCUMENT ME! |
double |
evaluateIntegralLinealProduct(double[] a,
double[] b)
DOCUMENT ME! |
int[] |
getCacheNodeLinealElement()
DOCUMENT ME! |
double[][] |
getCoordinates()
Returns the lineal coordinates. |
double[] |
getCoordinates(int iesima)
Returns the lineal coordinates i-esimas (0=x, 1=y, 2=z,...) |
double[][] |
getCoordinatesQuad()
Returns the coordinates quadratics. |
double[] |
getCoordinatesQuad(int iesima)
Returns the quadratic coordinates i-esimas (0=x, 1=y, 2=z,...) |
double[][] |
getDirichletValues()
Returns values of the contour conditions of the nodes Dirichlet. |
double[] |
getElementAverageSizes()
Returns the average sizes of the elements. |
int[] |
getIpos()
Returns the vector Ipos lineal (NVPN) |
int[] |
getIposQuad()
Returns the vector Ipos quadratic (NVPN) |
int[] |
getJpos()
Returns the vector Jpos lineal (NNVI) |
int[] |
getJposQuad()
Returns the vector Jpos quadratic (NNVI) |
Matrix |
getMassMatrix()
returns the mass matrix of the associated lineal mesh. |
Matrix |
getMassMatrixQuad()
DOCUMENT ME! |
Matrix |
getMatrixDerivadaXQuad()
DOCUMENT ME! |
Matrix |
getMatrixDerivadaYQuad()
DOCUMENT ME! |
Matrix |
getMatrixDivergenceX()
DOCUMENT ME! |
Matrix |
getMatrixDivergenceXQuad()
DOCUMENT ME! |
Matrix |
getMatrixDivergenceY()
DOCUMENT ME! |
Matrix |
getMatrixDivergenceYQuad()
DOCUMENT ME! |
Matrix |
getMatrixDivergenceZ()
DOCUMENT ME! |
Matrix |
getMatrixDivergenceZQuad()
DOCUMENT ME! |
double[] |
getNeumannValues()
Returns the values of the contour conditions of the nodes Neumann. |
int[] |
getNodes(int iesima)
Returns the linear nodes i-esimos (0=1st, 1=2nd, 3=3rd,...) |
int[] |
getNodesDirichlet()
Returns the indexes of the nodes Dirichlet |
int[] |
getNodesDirichletQuad()
Returns the indexes of the Dirichlet quadratic nodes ! |
int[] |
getNodesDragLift()
DOCUMENT ME! |
int[] |
getNodesDragLiftQuad()
DOCUMENT ME! |
int[] |
getNodesNeumann()
Returns the indexes of the nodes Neumann |
int[] |
getNodesNeumannQuad()
Returns the indexes of the quadratic nodes Neumann! |
int[] |
getNodesPerfilDirichletQuad()
DOCUMENT ME! |
int[][] |
getNodesQuad()
DOCUMENT ME! |
int[] |
getNodesQuad(int iesima)
Returns the linear nodes i-esimos (0=1st, 1=2nd, 3=3rd,...) |
int[] |
getNodesSlip()
DOCUMENT ME! |
int[][] |
getNodeVector()
Returns the vector of all the linear nodes. |
Matrix |
getRigidityMatrix()
DOCUMENT ME! |
Matrix |
getRigidityMatrixQuad()
DOCUMENT ME! |
int[] |
getStartCacheNodeLinealElement()
DOCUMENT ME! |
double[][] |
getValuesDirichletQuad()
Returns the values of the contour conditions of the nodes Dirichlet. |
double[] |
getValuesNeumannQuad()
Returns the values of the contour conditions of the nodes Neumann. |
double[][] |
getVectorCoordinates()
Returns the vector of todas the coordinates lineals. |
double[][] |
getVectorCoordinatesQuad()
Returns the vector of todas the coordinates quadratics. |
int[][] |
getVectorNodesQuad()
Returns the vector of all the quadratic nodes. |
boolean |
is3D()
DOCUMENT ME! |
boolean |
isCilindroDragLift()
DOCUMENT ME! |
int[] |
linealFromQuadratics(int[] quadratics)
Returns the translation a lineal of the given quadratic nodes. if there is no equivalence for some one, it is omited. |
int[] |
quadraticFromLineal(int[] lineals)
Returns the conversion to a quadratic of the given linear nodes. |
double |
valueFieldQuad(double xco,
double yco,
double[] field)
DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int[][] nodesq
protected int[][] nodesl
protected double[][] coordq
protected double[][] coordl
public int[] lq
Lineal = lq[Cuad];
public int[] ql
Cuad = ql[Lineal];
public int[] nDirichletq
public int[] nNeumannq
public int[] nDirichletl
public int[] nNeumannl
public double[] vNeumannq
public double[] vNeumannl
public double[][] vDirichletq
public double[][] vDirichletl
public int[] nDragLiftq
public int[] nDragLiftl
public int[] nPerfilDirichletq
public int[] nSlipq
public int[] nSlipl
public double[] nxSlip
public double[] nySlip
public double[] lengthSlip
public int[] l1Slip
L1 in the slip contour.
public int[] l2Slip
L2 in the slip contour.
public int[] qSlip
Q in the slip contour.
| Constructor Detail |
|---|
public NavierStokesMesh(KernelADFC kadfc)
kadfc - DOCUMENT ME!| Method Detail |
|---|
public double[] calculateInterpolatedField(double[] quadField,
double[] linealField)
quadField - linealField -
public int[] quadraticFromLineal(int[] lineals)
lineals - DOCUMENT ME!
public int containingElement(double x0,
double y0)
x0 - coordinate xy0 - coordinate y
public int[] elementReferencesNode()
public int[] elementReferencesNodeQuad()
public int[] getCacheNodeLinealElement()
public int[] getStartCacheNodeLinealElement()
public double[] getCoordinates(int iesima)
iesima - DOCUMENT ME!
public double[][] getCoordinates()
public double[] getCoordinatesQuad(int iesima)
iesima - DOCUMENT ME!
public double[][] getCoordinatesQuad()
public int[] getIpos()
public int[] getIposQuad()
public int[] getJpos()
public int[] getJposQuad()
public Matrix getMatrixDivergenceX()
public Matrix getMatrixDivergenceY()
public Matrix getMatrixDivergenceZ()
public Matrix getMassMatrix()
public Matrix getMassMatrixQuad()
public Matrix getRigidityMatrix()
public Matrix getRigidityMatrixQuad()
public int[] getNodes(int iesima)
iesima - DOCUMENT ME!
public int[] getNodesQuad(int iesima)
iesima - DOCUMENT ME!
public int[][] getNodesQuad()
public int[] getNodesDirichletQuad()
public int[] getNodesNeumannQuad()
public double[][] getValuesDirichletQuad()
public double[] getValuesNeumannQuad()
public double[][] getVectorCoordinates()
public double[][] getVectorCoordinatesQuad()
public int[][] getNodeVector()
public int[][] getVectorNodesQuad()
public int[] linealFromQuadratics(int[] quadratics)
quadratics -
public int[] getNodesDragLift()
public int[] getNodesDragLiftQuad()
public int[] getNodesDirichlet()
public int[] getNodesNeumann()
public int[] getNodesSlip()
public int[] getNodesPerfilDirichletQuad()
public Matrix getMatrixDerivadaXQuad()
public Matrix getMatrixDerivadaYQuad()
public Matrix getMatrixDivergenceXQuad()
public Matrix getMatrixDivergenceYQuad()
public Matrix getMatrixDivergenceZQuad()
public double[] getElementAverageSizes()
public double[][] getDirichletValues()
public double[] getNeumannValues()
public double evaluateIntegral(double[] par)
par -
public double evaluateIntegralLinealProduct(double[] a,
double[] b)
a - b -
public double valueFieldQuad(double xco,
double yco,
double[] field)
xco - yco - field -
public boolean is3D()
public boolean isCilindroDragLift()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||