Dear Abhishek,
when planing to use adaptivity you have two options:
- use external generator to create initial as well as refined meshes. We have fully working interface to t3d mesh generator (written by Daniel Rypl). The boundary conditions, etc can be applied already at geometrical model level, so they are properly propagated to the FE mesh. The steering script, that calls oofem and t3d is also available. You need to ask Daniel to provide T3d, if you want to use this, as it is not a part of oofem distribution.
- there is an internal remeshing algorithm in oofem (based on subdivision technique), that also supports 2d and 3d cases. On the other hand, as it operates only on existing FE mesh, it could not fully satisfy the automated BC assignment. It comes with some internal rules, that work for most common cases (for example when element edge is subdivided and original vertices have the same BC applied, then it is applied to newly inserted node as well), but it has some limitations. In the general cases, the application of BCs must be hard-coded into subdivision code. We plan to extent subdivision to allow to pass to it some topological and geometrical informations that could automate the whole process, but this just a plan for the future.
Borek