Sorry for the incomplete message. I am simulating a channel flow with
periodic boundary conditions. See the codes below. It seems to work well
for serial run, but fails for the mpirun. I am curious if the PBC is
supported for the parallel implementation. If this is not the right way for
parallel run with PBC, then what is it? are there other ways to do this?
Thanks a lot.
Xujun
PeriodicBoundary horz(RealVectorValue(XB-XA, 0., 0.));
horz.set_variable(u_var);
horz.set_variable(v_var);
if(dim==2)
{
horz.myboundary = 3;
horz.pairedboundary = 1;
}
else if(dim==3)
{
horz.set_variable(w_var);
horz.myboundary = 4;
horz.pairedboundary = 2;
} // end if
DofMap& dof_map = system.get_dof_map();
dof_map.add_periodic_boundary(horz);
On Fri, Feb 20, 2015 at 1:40 PM, Xujun Zhao <[email protected]> wrote:
> Hi folks,
>
> I am simulating a channel flow with periodic boundary conditions.
>
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users