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

46 lines
778 B
C

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(),
vector::zero
);
scalarField solidPatchPressure
(
stressMesh.boundary()[solidPatchID].size(),
0.0
);
scalar initialFsiResidualNorm = 0;
scalar fsiResidualNorm = 0;