Okay, so you mix at least two problems here.
One is making the domain non-cubic.
Two is the syntax for the MPI (aka "not OpenMP").
For problem one, in your case, if you need an impermeable wall condition,
you have at least two choices. One is to use mask() function. This is the preferred
solution, and when conducting either single core or single-node (small-scale parallelism with OpenMP)
it is already implemented in Basilisk. However if you look at compatibility matrix, you'll see it's not
yet compatible with MPI (multi-node, large-scale parallelism).
Second option for problem one is to use a primitive version of the immersed boundary methods (IBM,
don't confuse with Big Blue...). It is implemented by defining fractions that are equal to one outside
of the desired domain (hint: you need at least four such fractions:)). Then, you put a condition
that if a said fraction is =1, the velocity should be 0. This is not modifying the data structure
and is not equivalent to mask. For example, projection will still project p^{n+1} into the fraction
area every timestep. But for all ends and purposes this will be a no-flow area. Reason I talk about
it is that it IS already compatible with MPI.
TL;DR: if large scale MPI-> IBM, if small scale-> mask().
Problem 2: look for flag "-D_MPI=1".
regards
w
> --
> You received this message because you are subscribed to the Google Groups "basilisk-fr" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
basilisk-fr...@googlegroups.com.
> To post to this group, send email to
basil...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/basilisk-fr/d1b14576-11f4-4c8b-9125-18f80a6a7928%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
Wojtek Aniszewski
[Fr: vôitek anichévsky]
[Eng: voyteck aanishevsky]
Post-doctoral Resarcher,
Sorbonne University (UPMC Paris 6)
Institut ∂'Alembert
www:
[in English:]
http://www.coria.fr/spip.php?auteur1606
[in Polish:]
http://nauka-polska.pl/dhtml/raporty/ludzieNauki?rtype=opis&objectId=240452&lang=pl
/^..^\ ,-------------------------------------,
( (••) ) ►►►►| My public GPG key ID: AC66485E |
(|)_._(|)~ | please use email encryption! |
`-------------------------------------"