See mappedGridExample6.C for one example. The operator documentation
describes other
ways to do this.
On Fri, Oct 11, 2019 at 9:29 PM ztdepyahoo <ztdepyahoo@xxxxxxx> wrote:
Professor Henshaw:
I have learn the Overture for a while with the serial version. Now I
tried to solve the 3D heat diffusstion equation
with sin(4*pi*x)*sin(4*pi*y) as the exact equation. I don't want to use the
periodic BC type. But how to set the boudary condition
as "sin(4*pi*x)*sin(4*pi*y)".
It seems that
"u.applyBoundaryCondition(component,BCTypes::dirichlet,BCTypes::allBoundaries,1.);
" only apply the constant value bc.
Regards