Hi Hua,
I tested your xz example, but am not sure what you mean "the velocity changes direction, especially around tunnel in the late time". For me it looks ok. please check an animation here
https://dl.dropboxusercontent.com/u/331205/xz.avi
I used OGS ver 5.4.2 and PVD for output which correctly output ux,uz according to your coordinate system.
best,
nori
···
On 01/17/2014 09:47 AM, Shao, Hua wrote:
My BC definition using GRADIENT is the same as Georg, as said that it is not correct if I use it in xy section.
Both Version 5.4 and 5.5 doesn't work if I used the function described by Marc. I attached the .BC in this mail.
We have not understood the function described by Nori and Wenqing. What are a, b, c ....?
If I need only a distribution
at y=400 300000 Pa
at y=700 100000 PaHow can I define them?
Best
Hua-----Ursprüngliche Nachricht-----
Von: ogs-users@googlegroups.com [mailto:ogs-users@googlegroups.com] Im Auftrag von Wenqing Wang
Gesendet: Donnerstag, 16. Januar 2014 16:57
An: ogs-users@googlegroups.com
Betreff: Re: AW: AW: [ogs-users] Bugs fixed --> there are still sometypo in 'For IC':
$DIS_TYPE
FUNCTION
$GEO_TYPE
SUBDOMAIN
2
0 1.693567e5+4000*x+-11559.45*y
2 1.693567e5+4000*x+-11559.45*yThe integer before the expression is the material index of a domain.
On 16.01.2014 16:52, Wenqing Wang wrote:
Yes, you can do like this but keep in mind that only + and * are
operators, and x, y, z denote coordinates. For BC, the syntax is that
in Nori's email. For IC: it takes the form:$DIS_TYPE
FUNCTION
$GEO_TYPE
SUBDOMAIN
2
0 1.693567e5+4000*x+-11559.45*yThe expression should be a+b*x+c*y+d*z, where a, b, c, and d are the
constant to be input.Wenqing
On 16.01.2014 15:11, Norihiro Watanabe wrote:
you can also try a distribution type FUNCTION, which
f(x,y,z)=ax+by+cz. Example is$DIS_TYPE
FUNCTION
0+-11453*ybest,
noriOn 01/16/2014 03:07 PM, Georg Kosakowski wrote:
If you only need a gradient in Z and would like to account for
increase of pressure with depth ...you can try this:#BOUNDARY_CONDITION
$PCS_TYPE
RICHARDS_FLOW
$PRIMARY_VARIABLE
PRESSURE1
$GEO_TYPE
POLYLINE LEFT_BOUNDARY
$DIS_TYPE
GRADIENT 0.0 0.0 9.81e+3 ; at z=0 m we have Pressure =0 -> fully
saturated ...saturation is decreasing with increasing zGRADIENT [reference depth] [reference depth value] [Gradient]
Greetings, Georg
On 01/16/2014 02:50 PM, Marc Walther wrote:
Hi Hua,
yes, I remember Georg having some problems with high gradients of
permeability some time ago.Concerning the BC, you might try to use this (.bc):
$DIS_TYPE
LINEAR [number of points defined below] [point_ID1] [PrimVar_value]
[name of point with ID1] [point_ID2] [PrimVar_value] [name of point
with ID2]for this, you will have to give names to the points in the .gli like:
[point_ID1] x y z *$NAME *[name of point with ID1]
Maybe this helps you with applying a gradient.
Best,
MarcOn Do 16 Jan 2014 14:24:30 CET, Georg Kosakowski wrote:
Hoi Hua,
you are correct regarding the boundary conditions. Gradients are
only defined for z-direction. I remember I looked this up in the
code, because I wondered how to define the direction of gradients!
I also found, that it is necessary to change a bit the numerical
settings, as otherwise the solution for the pressure field is not
accurate enough in low-permeability media and the flow field might
get "wrong".
Try setting the solver tolerance to 1e-20 or even smaller ...
Greetings, GeorgOn 01/16/2014 02:18 PM, Shao, Hua wrote:
Thank you all for lots tips. I don’t know where is my branch, I
attached my two simplified cases in the zip-form.The xy coordinate system doesn’t allow me to used gradient as
boundary conditions. The calculation of velocity, at least
direction looks properly.The xz coordinate system runs well, however, the velocity changes
direction, especially around tunnel in the late time.Hua
*Von:*ogs-users@googlegroups.com
[mailto:ogs-users@googlegroups.com]
*Im Auftrag von *Marc Walther
*Gesendet:* Donnerstag, 16. Januar 2014 12:26
*An:* ogs-users@googlegroups.com
*Betreff:* Re: AW: [ogs-users] Bugs fixed --> there are still
someDear Hua,
Could you upload the setup to your branch and give a link, that
we can take a look?I don't understand what you mean by 1. "it doesn't work" - can
you give some details?2. For 2D, I think OGS will always write results in the first two
components of the vectors. You can easily transform the vector in
ParaView or TecPlot.3. The setup would help to understand why this happens
Best,
MarcAm 16.01.2014 11:56 schrieb "Shao, Hua" <Hua.Shao@bgr.de
<mailto:Hua.Shao@bgr.de>>:Dear all
We are currently using Richards-model for one project. Based on
some Benchmark-example, e.g. Foryth, we got a very quick start.
However, we have also problems as:
1. 2D problem doesn't work if the problem in y-z coordinate
system 2. Definition of coordinate system is quite confuse, i.e.
2D problem in x-z section, output of velocity is ux, uy 3. The
calculation of velocity is with great uncertainty: in some test
cases, we got even vx=vy (???) in the output file.Does anyone have an idea or experience on the 'RICHARD's flow'?
Hua
-----Ursprüngliche Nachricht-----
Von: ogs-users@googlegroups.com
<mailto:ogs-users@googlegroups.com>
[mailto:ogs-users@googlegroups.com
<mailto:ogs-users@googlegroups.com>] Im Auftrag von Wenqing Wang
Gesendet: Dienstag, 14. Januar 2014 12:55
An: ogs-users@googlegroups.com
<mailto:ogs-users@googlegroups.com>
Betreff: [ogs-users] Bugs fixedDear all,
If you solve THM coupling problem with deactivated domains,
please patch your source code with my today's commits , which
contain the bug fixing for the boundary condition assignment.Wenqing
--
You received this message because you are subscribed to the
Google Groups "ogs-users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to ogs-users+unsubscribe@googlegroups.com
<mailto:ogs-users%2Bunsubscribe@googlegroups.com>.
For more options, visit https://groups.google.com/groups/opt_out
<https://groups.google.com/groups/opt_out>\.--
You received this message because you are subscribed to the
Google Groups "ogs-users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to ogs-users+unsubscribe@googlegroups.com
<mailto:ogs-users%2Bunsubscribe@googlegroups.com>.
For more options, visit https://groups.google.com/groups/opt_out
<https://groups.google.com/groups/opt_out>\.--
You received this message because you are subscribed to the
Google Groups "ogs-users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to ogs-users+unsubscribe@googlegroups.com
<mailto:ogs-users+unsubscribe@googlegroups.com>.
For more options, visit https://groups.google.com/groups/opt_out\.--
You received this message because you are subscribed to the
Google Groups "ogs-users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to ogs-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out\.--
PD Dr. Georg Kosakowski * Laboratory for Waste Management Paul
Scherrer Institut * 5232 Villigen/PSI * Switzerland
Phone: +41-56-3104743 * Fax: +41-56-3102821
Email:georg.kosakowski@psi.ch h323:+41563104743
homepage:Telefonbuch & E-Mail | Paul Scherrer Institut (PSI)--
You received this message because you are subscribed to the Google
Groups "ogs-users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to ogs-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out\.--
You received this message because you are subscribed to the Google
Groups "ogs-users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to ogs-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out\.--
PD Dr. Georg Kosakowski * Laboratory for Waste Management Paul
Scherrer Institut * 5232 Villigen/PSI * Switzerland
Phone: +41-56-3104743 * Fax: +41-56-3102821
Email:georg.kosakowski@psi.ch h323:+41563104743
homepage:Telefonbuch & E-Mail | Paul Scherrer Institut (PSI)--
You received this message because you are subscribed to the Google
Groups "ogs-users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to ogs-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out\.--
You received this message because you are subscribed to the Google Groups "ogs-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ogs-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out\.
--
Dr.-Ing. Norihiro Watanabe
Department of Environmental Informatics (ENVINF)
Wissenschaftler
Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
Helmholtz Centre for Environmental Research GmbH - UFZ
Permoserstraße 15 / 04318 Leipzig / Germany
norihiro.watanabe@ufz.de / http://www.ufz.de
Telefon +49 341 235 1806
Sitz der Gesellschaft: Leipzig
Registergericht: Amtsgericht Leipzig, Handelsregister Nr. B 4703
Vorsitzender des Aufsichtsrats: MinDirig Wilfried Kraus
Wissenschaftlicher Geschäftsführer: Prof. Dr. Georg Teutsch
Administrativer Geschäftsführer: Dr. Heike Graßmann