accessing the initial mesh?
Hi,
can anybody tell me if it is possible to access the initial mesh in a dynamicMesh simulation e.g. with pimpleDyMFoam??? thanks a lot, rupert |
Hi,
i tried to calculate the initial mesh positions with the following procedure inside a meshmotion solver: volVectorField cellPos = fvMesh_.C(); forAll(cellPos, pointI) { coordx=cellPos[pointI].x() - cellDisplacement_[pointI].x(); coordy=cellPos[pointI].y() - cellDisplacement_[pointI].y(); coordz=cellPos[pointI].z() - cellDisplacement_[pointI].z(); ... ... ... } can anybody tell me what is the mistake here? the coordinates i get are around 1-2% wrong. Maybe someone can tell me how to direct access the initial mesh... thanks in advance rupert |
All times are GMT -4. The time now is 02:38. |