VOLUME

Hi all,

I have a 3D domain, and I want to initialize the domain with different values. The “DOMAIN” will initialize uniform value for the whole system. So I need to define some VOLUMEs. If I have a cube, and the points are defined as follow:

#POINTS

0 0 0 0
1 1 0 0
2 0 1 0
3 0 0 1
4 0 1 1
5 1 0 1
6 1 1 0
7 1 1 1

How should I define the cube?

Thanks,

Xuan

There is no such functionality. You can consider the may of material group, e.g. assign the elements in the cube with an unique material ID when the mesh is generated.
Example: THM/thm_decov.ic

···

On 01/09/2015 04:11 AM, Xuan Yu wrote:

Hi all,

I have a 3D domain, and I want to initialize the domain with different values. The "DOMAIN" will initialize uniform value for the whole system. So I need to define some VOLUMEs. If I have a cube, and the points are defined as follow:
#POINTS
0 0 0 0
1 1 0 0
2 0 1 0
3 0 0 1
4 0 1 1
5 1 0 1
6 1 1 0
7 1 1 1

How should I define the cube?

Thanks,

Xuan
--
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/d/optout.

If you mean initial conditions, you can manually assign value to each node by using DIRECT as $DIS_TYPE in *.ic file as

$DIS_TYPE
  DIRECT
  ic.txt

The line after DIRECT indicates the name of a ASCII file which has two columns (node id, node value) separated by space or tab as

0 1.0
1 0.5
2 1.1
....

Regards,
Nori

···

On 01/09/2015 09:52 AM, Wenqing Wang wrote:

There is no such functionality. You can consider the may of material
group, e.g. assign the elements in the cube with an unique material ID
when the mesh is generated.
Example: THM/thm_decov.ic

On 01/09/2015 04:11 AM, Xuan Yu wrote:

Hi all,

I have a 3D domain, and I want to initialize the domain with different
values. The "DOMAIN" will initialize uniform value for the whole
system. So I need to define some VOLUMEs. If I have a cube, and the
points are defined as follow:
#POINTS
0 0 0 0
1 1 0 0
2 0 1 0
3 0 0 1
4 0 1 1
5 1 0 1
6 1 1 0
7 1 1 1

How should I define the cube?

Thanks,

Xuan
--
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/d/optout.

--
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/d/optout.

--
Norihiro Watanabe, Dr.-Ing.
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

Thanks. Both methods work fine.

Xuan

···

On Friday, January 9, 2015 at 4:05:17 AM UTC-5, Norihiro Watanabe wrote:

If you mean initial conditions, you can manually assign value to each
node by using DIRECT as $DIS_TYPE in *.ic file as

$DIS_TYPE
DIRECT
ic.txt

The line after DIRECT indicates the name of a ASCII file which has two
columns (node id, node value) separated by space or tab as

0 1.0
1 0.5
2 1.1

Regards,
Nori

On 01/09/2015 09:52 AM, Wenqing Wang wrote:

There is no such functionality. You can consider the may of material
group, e.g. assign the elements in the cube with an unique material ID
when the mesh is generated.
Example: THM/thm_decov.ic

On 01/09/2015 04:11 AM, Xuan Yu wrote:

Hi all,

I have a 3D domain, and I want to initialize the domain with different
values. The “DOMAIN” will initialize uniform value for the whole
system. So I need to define some VOLUMEs. If I have a cube, and the
points are defined as follow:
#POINTS
0 0 0 0
1 1 0 0
2 0 1 0
3 0 0 1
4 0 1 1
5 1 0 1
6 1 1 0
7 1 1 1

How should I define the cube?

Thanks,

Xuan

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+...@googlegroups.com

mailto:ogs-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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+...@googlegroups.com

mailto:ogs-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Norihiro Watanabe, Dr.-Ing.
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...@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