This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/applications/solvers/solidMechanics/icoFsiElasticNonLinULSolidFoam/createInterfaceFields.H

47 lines
778 B
C
Raw Normal View History

2012-09-11 15:42:55 +00:00
vectorField fluidPatchPointsDispl
(
mesh.boundaryMesh()[fluidPatchID].nPoints(),
vector::zero
);
vectorField fluidPatchPointsDisplOld
(
mesh.boundaryMesh()[fluidPatchID].nPoints(),
vector::zero
);
vectorField solidPatchPointsDispl
(
mesh.boundaryMesh()[fluidPatchID].nPoints(),
vector::zero
);
vectorField fsiResidual
(
mesh.boundaryMesh()[fluidPatchID].nPoints(),
vector::zero
);
vectorField fsiResidualOld
(
mesh.boundaryMesh()[fluidPatchID].nPoints(),
vector::zero
);
vectorField solidPatchTraction
(
stressMesh.boundary()[solidPatchID].size(),
2012-09-11 15:42:55 +00:00
vector::zero
);
scalarField solidPatchPressure
(
stressMesh.boundary()[solidPatchID].size(),
2012-09-11 15:42:55 +00:00
0.0
);
scalar initialFsiResidualNorm = 0;
scalar fsiResidualNorm = 0;