[overture] Re: How to set boundary condition as "sin(4*pi*x)*sin(4*pi*y)"

  • From: Bill Henshaw <wdhenshaw@xxxxxxxxx>
  • To: overture@xxxxxxxxxxxxx
  • Date: Sun, 13 Oct 2019 11:14:07 -0400

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




Other related posts: