|
[Sponsors] |
April 4, 2012, 10:23 |
accessing the initial mesh?
|
#1 |
Member
fisch
Join Date: Feb 2010
Posts: 97
Rep Power: 16 |
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 |
|
April 5, 2012, 10:08 |
|
#2 |
Member
fisch
Join Date: Feb 2010
Posts: 97
Rep Power: 16 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Forces in OF15 | richard | OpenFOAM Running, Solving & CFD | 180 | July 9, 2018 11:54 |
alphaEqn.H in twoPhaseEulerFoam | cheng1988sjtu | OpenFOAM Bugs | 15 | May 1, 2016 17:12 |
Problems with simulating TurbFOAM | barath.ezhilan | OpenFOAM | 13 | July 16, 2009 06:55 |
SimpleFoam k and epsilon bounded | nedved | OpenFOAM Running, Solving & CFD | 1 | November 25, 2008 21:21 |
Automatic Mesh Motion solver | michele | OpenFOAM Running, Solving & CFD | 10 | September 26, 2005 09:21 |