CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   dynamicMeshRefinement (

nimasam January 28, 2013 15:23

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 08:52.