This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

selective mesh refinement

+1 vote

Hi,

I am solving PDEs over multiple subdomains and I set the strong Dirichlet BC so that the variable is identical to a fixed value in one of the subdomains; which, by the way, constitutes a large portion of the computational domain.

I'd be thankful if you could let me know if there's a way I can ask FEniCS to use very coarse mesh in a designated subdomain and fine mesh only elsewhere?

Many thanks,

asked Jul 12, 2013 by hnili FEniCS Novice (590 points)

1 Answer

+1 vote
 
Best answer

Construct globally coarse mesh and use refine.

answered Jul 12, 2013 by Jan Blechta FEniCS Expert (51,420 points)
selected Jul 19, 2013 by Jan Blechta

Thanks very much!

...