CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development


Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   January 28, 2013, 15:23
Default dynamicMeshRefinement
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,245
Blog Entries: 1
Rep Power: 18
nimasam is on a distinguished road
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
Telegram channel (
My Weblog in Persian(
My Personal Website (
nimasam is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -4. The time now is 06:36.