CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   dynamicMeshRefinement (http://www.cfd-online.com/Forums/openfoam-programming-development/112425-dynamicmeshrefinement.html)

nimasam January 28, 2013 15:23

dynamicMeshRefinement
 
Hello
im going to write a pieces of code to make mesh refine for 2D or axisymetricMesh, i used the idea of using refineMeshDict, so i modify it to make it refine mesh in each time step, now problem is that How i can update my fields (volScalarField or volVectorField) to know this update mesh?

in details:
after using function multiDirRefinement, cell number will be increased,
but still volScalarFields and VolvectorFields internalField cell number will remained fixed, how can i update the cell number of these fields, somthings like dynamic list which i can add new cells value to it :)


All times are GMT -4. The time now is 05:59.