icoDyMFoam with non-Orthogonality Check
Hello,
I'm using icoDyMFoam for a moving Mesh without topological changes. In order to control the mesh-Quality during the run I want to use checkMesh while running icoDyMFoam. So is the non-Orthogonality check already done with icoDyMFoam and if so, how can I simlply use it? I want icoDyMFoam to stop the run if non-Orthogonality exceeds a particular threshold. thanks for help |
some additional info: I am using foam extend 3.1
I tried this so far: in the solver icoDyMFoam.C I added the lines Code:
# include "checkVolContinuity.H" Code of icoDyMFoam.C (added lines coloured green): Code:
/*---------------------------------------------------------------------------*\ My question is now what to do if I only need the information about the non-Orthogonality of the mesh? How can I get only the relevant variable? Any help appreciated Mathi |
Hello,
Ok, now I use the following code to get the wanted information: Code:
mesh.checkFaceOrthogonality(true) if (runTime.timeIndex()) { mesh.checkMesh(true); } in the function checkFaceOrthogonality() there is a variable used, called "minDDotS" I want to use this variable in an if condition. Can anybody tell me how to get this variable in the main function of icoDyMFoam.C? |
All times are GMT -4. The time now is 06:53. |