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

  • From: ztdepyahoo <ztdepyahoo@xxxxxxx>
  • To: overture@xxxxxxxxxxxxx
  • Date: Mon, 14 Oct 2019 08:38:05 +0800 (CST)

Professor Henshaw:
    Thank you very much for your feedback.  I want to use Overture to solve the 
'phase field problem in a 3D domain.
    Could you please give me some suggestions about how to solve a unsteady 
Possion equation with variable coefficients. I thank the cgad can resolve this 
problem, but does cgad has a example using api to solve convection diffusion 
equations.
Regards






在 2019-10-13 23:14:07,"Bill Henshaw" <wdhenshaw@xxxxxxxxx> 写道:

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: