Anuga-user Digest, Vol 75, Issue 1

6 views
Skip to first unread message

anuga-use...@lists.sourceforge.net

unread,
Mar 1, 2015, 4:13:13 AM3/1/15
to anuga...@lists.sourceforge.net
Send Anuga-user mailing list submissions to
anuga...@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/anuga-user
or, via email, send a message with subject or body 'help' to
anuga-use...@lists.sourceforge.net

You can reach the person managing the list at
anuga-us...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Anuga-user digest..."


Today's Topics:

1. boundary conditions and interior region tags (Stefan Kummer)
2. Move to github (Stephen Roberts)
3. Re: boundary conditions and interior region tags (Stephen Roberts)
4. Current Anuga Installation Issues (by way of Ted Rigby
(Ole Nielsen)


----------------------------------------------------------------------

Message: 1
Date: Fri, 30 Jan 2015 13:56:15 +0100
From: Stefan Kummer <stefan_...@web.de>
Subject: [Anuga-user] boundary conditions and interior region tags
To: anuga...@lists.sourceforge.net
Message-ID: <54CB7F6F...@web.de>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi,

I am an ANUGA-user and have questions on boundary conditions and
boundary tags:

1) If I use "anuga.Dirichlet_boundary([0, 0, 0])" (stage = 0), does
ANUGA use the elevation at the boundary nodes, because there is no error
rising? If so: what is the difference between
"anuga.Dirichlet_boundary([0, 0, 0])" and
"anuga.Transmissive_stage_zero_momentum_boundary(domain)"?

2) Is it possible to set one of the above boundary conditions to an
interior region so that the interior region acts as a sink? How do I
assign boundary tags to this interior region?

Thanks
Stefan



------------------------------

Message: 2
Date: Mon, 02 Feb 2015 09:26:26 +1100
From: Stephen Roberts <stephen...@anu.edu.au>
Subject: [Anuga-user] Move to github
To: "anuga...@lists.sourceforge.net >> anuga-user-list"
<anuga...@lists.sourceforge.net>
Message-ID: <54CEA81...@anu.edu.au>
Content-Type: text/plain; charset=utf-8; format=flowed

Dear anuga users,

A couple of things:

(1) Our trac site https://anuga.anu.edu.au/ is down at the moment. Our
IT people are looking into the problem

For people using the development version of the code:

(2) We are currently in the process of doing a large reorganisation of
the development version of the anuga_core directory on
https://anuga.anu.edu.au/svn/anuga/trunk/anuga_core

This is to reduce it's size before transferring it to github, and also
to bring it up to the standard of more modern package structures (indeed
I have used numpy and scipy as the template).

At present you will be able to continue to use svn update to keep up
with the current state, and use compile_all and test_all to build and
test the installation.

But you can also now use the standard python setup.py method of build
and install.

For new users we will be recommending using the python setup.py install
using a local environment as provided by for instance conda as the way
to install a new version of anuga.

Github should provide a better way to manage future version of the code
and to allow easier integration of new code into anuga.

We will keep you informed as we move to github.

We will try to automatically update the old svn repository to minimize
disruption.

All the best
Steve
(For the anuga developers)

--
+--------------------------------------------------------------------+
| Steve Roberts | My Office: (61)(2) 6125 4445 |
| Department of Mathematics | Math Office: (61)(2) 6125 2908 |
| Mathematical Sciences Institute| Fax: (61)(2) 6125 4984 |
| John Dedman Building #27 | mailto:stephen...@anu.edu.au |
| Australian National University | http://www.maths.anu.edu.au/~steve|
| Canberra ACT 0200 AUSTRALIA | ANU CRICOS # 00120C |
+--------------------------------------------------------------------+




------------------------------

Message: 3
Date: Tue, 3 Feb 2015 16:27:02 +1100
From: Stephen Roberts <u860...@uds.anu.edu.au>
Subject: Re: [Anuga-user] boundary conditions and interior region tags
To: <anuga...@lists.sourceforge.net>
Message-ID: <54D05C26...@uds.anu.edu.au>
Content-Type: text/plain; charset="windows-1252"; format=flowed


Hi Stefan,

> 1) If I use "anuga.Dirichlet_boundary([0, 0, 0])" (stage = 0), does
> ANUGA use the elevation at the boundary nodes, because there is no error
> rising? If so: what is the difference between
> "anuga.Dirichlet_boundary([0, 0, 0])" and
> "anuga.Transmissive_stage_zero_momentum_boundary(domain)"?

anuga.Dirichlet_boundary([0, 0, 0]) is very simple in that the value on the boundary is set to
0 stage , 0 xmomentum , 0 ymomentum. Depending on the flow_algorithm you are using, the elevation
at the boundary will either be the average of elevation at the interior and 0, or in hte later DE0
and DE1, a discontinuous jump in elevation will be used.

The Dirichlet will set stage and momenta to zero and the
Transmissive_stage_zero_momentum will set the momenta to zero and use the stage value in the
interior to set the boundary value.

> 2) Is it possible to set one of the above boundary conditions to an
> interior region so that the interior region acts as a sink? How do I
> assign boundary tags to this interior region?


You can use the procedures

create_mesh_from_regions or
create_domain_from_regions

to create interior hole(s).

The interior edges of the hole will be tagged "interior" and then you can
associate a boundary condition to the "interior" tag.

You can associate specific boundary tags using the hole_tags argument to
create_mesh_from_regions or create_domain_from_regions if you want multiple holes
with different tags and so the facility to set different BC to the different holes.

validation_tests/case_studies/merewether/runMerewether.py uses create_mesh_from_regions (line 99)
to set some interior holes and sets the BC to Reflective (line 182)

The unit test test_create_mesh_with_interior_holes_and_tags in test_mesh_interface.py in
anuga/pmesh/tests folder demonstrate how to set hole_tags.

Cheers
Steve





On 30/01/15 23:56, Stefan Kummer wrote:
> Hi,
>
> I am an ANUGA-user and have questions on boundary conditions and
> boundary tags:
>
> 1) If I use "anuga.Dirichlet_boundary([0, 0, 0])" (stage = 0), does
> ANUGA use the elevation at the boundary nodes, because there is no error
> rising? If so: what is the difference between
> "anuga.Dirichlet_boundary([0, 0, 0])" and
> "anuga.Transmissive_stage_zero_momentum_boundary(domain)"?
>
> 2) Is it possible to set one of the above boundary conditions to an
> interior region so that the interior region acts as a sink? How do I
> assign boundary tags to this interior region?
>
> Thanks
> Stefan
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Anuga-user mailing list
> Anuga...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/anuga-user

--
+--------------------------------------------------------------------+
| Steve Roberts | My Office: (61)(2) 6125 4445 |
| Department of Mathematics | Math Office: (61)(2) 6125 2908 |
| Mathematical Sciences Institute| Fax: (61)(2) 6125 4984 |
| John Dedman Building #27 | mailto:stephen...@anu.edu.au |
| Australian National University | http://www.maths.anu.edu.au/~steve|
| Canberra ACT 0200 AUSTRALIA | ANU CRICOS # 00120C |
+--------------------------------------------------------------------+




------------------------------

Message: 4
Date: Sun, 1 Mar 2015 11:02:46 +1100
From: Ole Nielsen <ole.molle...@gmail.com>
Subject: [Anuga-user] Current Anuga Installation Issues (by way of Ted
Rigby
To: anuga-user-list <anuga...@lists.sourceforge.net>
Message-ID:
<CALcLSfp-X2XEQ4XRhbdZhGd6N-fKnL=Uf2xxic3_...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

> Hi ANUGA user group
>
>
>
> Ted Rigby sent the below to me. It has to do with installing ANUGA on
Windows and particularly the tricky point of getting NetCDF support to work.
>
> Do any of you have recent information about this that we could point Ted
to?
>
>
>
> Many thanks
>
> Ole
>
> From: Ted Rigby [mailto:ted....@rienco.com.au]
> Sent: Sunday, 22 February 2015 5:25 PM
> To: Nielsen Ole
> Subject: Current Anuga Installation Issues
>
>
>
> Hi Ole
>
>
>
> Been a while since we last communicated. I am now semi- retired and
living in Tasmania (my original home state).
>
> I understand you are now well and truly back in harness at GA but not so
involved these days in Anuga so please forward this on to whoever is
appropriate if you are no longer that person!
>
> (It is in my view a significant loss for Anuga if that is not you ? your
enthusiasm was infectious!)
>
>
>
> My Issues:
>
> I recently decided to install the current development version following
the current installation guide on the ANU trac website.
>
> This I have done many times in the past without issues but found several
problems with this latest install.
>
> Scientific Python still does not include the netcdf package requiring a
separate installation (as noted in the installation notes).
>
> The Scientific Python URL provided no longer supplies the packages in
windows friendly form (wheels files requiring PIP). I had to download a
windows friendly version from the authors site.
>
> The packages described in the installation notes do not cover the
installation of mingw. This is also needed if not already installed (as on
my new machine).
>
> Finally all seemed ready to run but running the compile_all script
failed in a loader command when it could not find ?lpthread.
>
> I attach a screen dump of the failing code. Can you point me to a fix?
>
>
>
> I would also make the general point that most windows machines are now 64
bit capable but much of the libraries and code seems to be 32 bit.
>
> There is for instance a very capable mingw 32/64 compiler but I have not
tried it with Anuga.
>
> Some specific installation guidelines for 64 bit windows machines would
no doubt benefit many users as would installation/script guidelines for
running parallel code under windows (8 cores are now pretty standard on any
i7 machine.
>
>
>
> Thanks in advance for whatever assistance you can offer.
>
>
>
> Yours sincerely
>
> Ted Rigby
>
>
>
>
>
> Geoscience Australia Disclaimer: This e-mail (and files transmitted with
it) is intended only for the person or entity to which it is addressed. If
you are not the intended recipient, then you have received this e-mail by
mistake and any use, dissemination, forwarding, printing or copying of this
e-mail and its file attachments is prohibited. The security of emails
transmitted cannot be guaranteed; by forwarding or replying to this email,
you acknowledge and accept these risks.
>
-------------------------------------------------------------------------------------------------------------------------
>
> --
> You received this message because you are subscribed to the Google Groups
"ANUGA support and discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to anuga-discus...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: anuga ld error.jpg
Type: image/jpeg
Size: 227008 bytes
Desc: not available

------------------------------

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/

------------------------------

_______________________________________________
Anuga-user mailing list
Anuga...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/anuga-user


End of Anuga-user Digest, Vol 75, Issue 1
*****************************************
Reply all
Reply to author
Forward
0 new messages