Structured Mesh in OpenGeosys

Hi All,

I want to generate structured mesh for Quad elements. I read following link

https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation

Soil column width (x-direction)=0.1

Height (z-direction)=1.0

Along the z-direction, number of elements are 20.

I used following commands

bin/generateStructuredMesh -o quad_1x20.msh -e quad --lx .1 --lz 1.0 --nx 1 --nz 20

The error message is “error: Missing input: Length for dimension [1] is required but missing”. Any idea what is wrong here?

On the other hand, if I want to plot in x-y plane with same element number with following commands, it is working

bin/generateStructuredMesh -o quad_1x20.msh -e quad --lx .1 --ly 1.0 --nx 1 --ny 20

Regards,

Mohammad

Hi,

generateStructuredMesh is currently not supporting generation of a 2D mesh in x-z plane. After creating a mesh in x-y plane, you should run swapNodeCoordinateAxes tool to convert it to x-z plane.

nori

···

On 05/17/2017 06:27 AM, Mohammad Islam wrote:

Hi All,
I want to generate structured mesh for Quad elements. I read following link
https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation

Soil column width (x-direction)=0.1
Height (z-direction)=1.0

Along the z-direction, number of elements are 20.

I used following commands
bin/generateStructuredMesh -o quad_1x20.msh -e quad --lx .1 --lz 1.0
--nx 1 --nz 20

The error message is "error: Missing input: Length for dimension [1] is
required but missing". Any idea what is wrong here?

On the other hand, if I want to plot in x-y plane with same element
number with following commands, it is working

bin/generateStructuredMesh -o quad_1x20.msh -e quad --lx .1 --ly 1.0
--nx 1 --ny 20

Regards,
Mohammad

--
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.

Dear Nori,

Thank you for your reply.

I checked ogs6-utils-x32. But, did not find the swapNodeCoordinateAxes tool. However, in \ogs-master\Applications\Utils\MeshEdit, I found swapNodeCoordinateAxes.cpp. Is there any other source to find the swapNodeCoordinateAxes tool?

Thanks in advance.

Regards,

Mohammad

···

On Tuesday, 16 May 2017 17:53:29 UTC-4, Norihiro Watanabe wrote:

Hi,

generateStructuredMesh is currently not supporting generation of a 2D
mesh in x-z plane. After creating a mesh in x-y plane, you should run
swapNodeCoordinateAxes tool to convert it to x-z plane.

nori

On 05/17/2017 06:27 AM, Mohammad Islam wrote:

Hi All,
I want to generate structured mesh for Quad elements. I read following link
https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation

Soil column width (x-direction)=0.1
Height (z-direction)=1.0

Along the z-direction, number of elements are 20.

I used following commands
bin/generateStructuredMesh -o quad_1x20.msh -e quad --lx .1 --lz 1.0
–nx 1 --nz 20

The error message is “error: Missing input: Length for dimension [1] is
required but missing”. Any idea what is wrong here?

On the other hand, if I want to plot in x-y plane with same element
number with following commands, it is working

bin/generateStructuredMesh -o quad_1x20.msh -e quad --lx .1 --ly 1.0
–nx 1 --ny 20

Regards,
Mohammad


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.

how about the zip file linked from "Windows Data Explorer" in https://docs.opengeosys.org/download ?

n

···

On 05/17/2017 07:04 AM, Mohammad Islam wrote:

Dear Nori,
Thank you for your reply.

I checked ogs6-utils-x32. But, did not find the swapNodeCoordinateAxes
tool. However, in \ogs-master\Applications\Utils\MeshEdit, I found
swapNodeCoordinateAxes.cpp. Is there any other source to find the
swapNodeCoordinateAxes tool?

Thanks in advance.

Regards,
Mohammad

On Tuesday, 16 May 2017 17:53:29 UTC-4, Norihiro Watanabe wrote:

    Hi,

    generateStructuredMesh is currently not supporting generation of a 2D
    mesh in x-z plane. After creating a mesh in x-y plane, you should run
    swapNodeCoordinateAxes tool to convert it to x-z plane.

    nori

    On 05/17/2017 06:27 AM, Mohammad Islam wrote:
    > Hi All,
    > I want to generate structured mesh for Quad elements. I read
    following link
    >
    https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation
    <https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation>

    >
    > Soil column width (x-direction)=0.1
    > Height (z-direction)=1.0
    >
    > Along the z-direction, number of elements are 20.
    >
    > I used following commands
    > bin/generateStructuredMesh -o quad_1x20.msh -e quad --lx .1 --lz 1.0
    > --nx 1 --nz 20
    >
    > The error message is "error: Missing input: Length for dimension
    [1] is
    > required but missing". Any idea what is wrong here?
    >
    > On the other hand, if I want to plot in x-y plane with same element
    > number with following commands, it is working
    >
    > bin/generateStructuredMesh -o quad_1x20.msh -e quad --lx .1 --ly 1.0
    > --nx 1 --ny 20
    >
    > Regards,
    > Mohammad
    >
    > --
    > 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 <javascript:>
    > <mailto:ogs-users+...@googlegroups.com <javascript:>>.
    > For more options, visit https://groups.google.com/d/optout
    <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.

Dear Nori,
Thank you. Yes, it is available there.

Regards,

Mohammad

···

On Tuesday, 16 May 2017 18:10:39 UTC-4, Norihiro Watanabe wrote:

how about the zip file linked from “Windows Data Explorer” in
https://docs.opengeosys.org/download ?

n

On 05/17/2017 07:04 AM, Mohammad Islam wrote:

Dear Nori,
Thank you for your reply.

I checked ogs6-utils-x32. But, did not find the swapNodeCoordinateAxes
tool. However, in \ogs-master\Applications\Utils\MeshEdit, I found
swapNodeCoordinateAxes.cpp. Is there any other source to find the
swapNodeCoordinateAxes tool?

Thanks in advance.

Regards,
Mohammad

On Tuesday, 16 May 2017 17:53:29 UTC-4, Norihiro Watanabe wrote:

Hi,

generateStructuredMesh is currently  not supporting generation of a 2D
mesh in x-z plane. After creating a mesh in x-y plane, you should run
swapNodeCoordinateAxes tool to convert it to x-z plane.

nori


On 05/17/2017 06:27 AM, Mohammad Islam wrote:
> Hi All,
> I want to generate structured mesh for Quad elements. I read
following link
>
[https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation](https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation)
<[https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation](https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation)>

>
> Soil column width (x-direction)=0.1
> Height (z-direction)=1.0
>
> Along the z-direction, number of elements are 20.
>
> I used following commands
> bin/generateStructuredMesh -o quad_1x20.msh -e quad --lx .1 --lz 1.0
> --nx 1 --nz 20
>
> The error message is "error: Missing input: Length for dimension
[1] is
> required but missing". Any idea what is wrong here?
>
> On the other hand, if I want to plot in x-y plane with same element
> number with following commands, it is working
>
> bin/generateStructuredMesh -o quad_1x20.msh -e quad --lx .1 --ly 1.0
> --nx 1 --ny 20
>
> Regards,
> Mohammad
>
> --
> 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 <javascript:>
> <mailto:ogs-users+...@googlegroups.com <javascript:>>.
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout)
<[https://groups.google.com/d/optout](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.

Dear Nori,

I generated structured mesh for Triangular element in XY plane (tri_2-40-xy.msh). Now using swapNodeCoordinateAxes
tool, I want to generate mesh in XZ plane. I used following command

bin/swapNodeCoordinateAxes -n XZY -o tri_2-40-xz.msh -i tri_2-40-xy.msh

The output file is tri_2-40-xz.msh. But, in the node coordinates, X, Z values are zero.

The soil column width and height are 0.1 m and 1.0 m.

Is there any other tricks to run swapNodeCoordinateAxes tools or is there anything missing in the command? For your kind consideration I attached input file (tri_2-40-xy.msh) & output file (tri_2-40-xz.msh)

Thanks in advance.

Regards,

Mohammad

Regards

tri_2_40-xz.msh (2.21 KB)

tri_2-40-xy.msh (2.35 KB)

···

On Tuesday, 16 May 2017 21:21:53 UTC-4, Mohammad Islam wrote:

Dear Nori,
Thank you. Yes, it is available there.

Regards,

Mohammad

On Tuesday, 16 May 2017 18:10:39 UTC-4, Norihiro Watanabe wrote:

how about the zip file linked from “Windows Data Explorer” in
https://docs.opengeosys.org/download ?

n

On 05/17/2017 07:04 AM, Mohammad Islam wrote:

Dear Nori,
Thank you for your reply.

I checked ogs6-utils-x32. But, did not find the swapNodeCoordinateAxes
tool. However, in \ogs-master\Applications\Utils\MeshEdit, I found
swapNodeCoordinateAxes.cpp. Is there any other source to find the
swapNodeCoordinateAxes tool?

Thanks in advance.

Regards,
Mohammad

On Tuesday, 16 May 2017 17:53:29 UTC-4, Norihiro Watanabe wrote:

Hi,

generateStructuredMesh is currently  not supporting generation of a 2D
mesh in x-z plane. After creating a mesh in x-y plane, you should run
swapNodeCoordinateAxes tool to convert it to x-z plane.

nori


On 05/17/2017 06:27 AM, Mohammad Islam wrote:
> Hi All,
> I want to generate structured mesh for Quad elements. I read
following link
>
[https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation](https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation)
<[https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation](https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation)>

>
> Soil column width (x-direction)=0.1
> Height (z-direction)=1.0
>
> Along the z-direction, number of elements are 20.
>
> I used following commands
> bin/generateStructuredMesh -o quad_1x20.msh -e quad --lx .1 --lz 1.0
> --nx 1 --nz 20
>
> The error message is "error: Missing input: Length for dimension
[1] is
> required but missing". Any idea what is wrong here?
>
> On the other hand, if I want to plot in x-y plane with same element
> number with following commands, it is working
>
> bin/generateStructuredMesh -o quad_1x20.msh -e quad --lx .1 --ly 1.0
> --nx 1 --ny 20
>
> Regards,
> Mohammad
>
> --
> 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 <javascript:>
> <mailto:ogs-users+...@googlegroups.com <javascript:>>.
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout)
<[https://groups.google.com/d/optout](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.

Hi Mohammad,

No there is no another trick. you did it correctly. I also tried and got the same wrong result. It seems there is a bug in the program. I'll check it later.

Meanwhile what you can do is manually swapping the columns using EXCEL or something similar, or using GINA which is available from

https://teambeam.bgr.de/my/drive#!folder=68

best,
nori

···

On 05/19/2017 03:59 AM, Mohammad Islam wrote:

Dear Nori,
I generated structured mesh for Triangular element in XY plane (tri_2-40-xy.msh). Now using swapNodeCoordinateAxes
tool, I want to generate mesh in XZ plane. I used following command

bin/swapNodeCoordinateAxes -n XZY -o tri_2-40-xz.msh -i tri_2-40-xy.msh

The output file is tri_2-40-xz.msh. But, in the node coordinates, X, Z values are zero.

The soil column width and height are 0.1 m and 1.0 m.

Is there any other tricks to run swapNodeCoordinateAxes tools or is there anything missing in the command? For your kind consideration I attached input file (tri_2-40-xy.msh) & output file (tri_2-40-xz.msh)

Thanks in advance.

Regards,
Mohammad

Regards

On Tuesday, 16 May 2017 21:21:53 UTC-4, Mohammad Islam wrote:

    Dear Nori,
    Thank you. Yes, it is available there.

    Regards,
    Mohammad

    On Tuesday, 16 May 2017 18:10:39 UTC-4, Norihiro Watanabe wrote:

        how about the zip file linked from "Windows Data Explorer" in
        https://docs.opengeosys.org/download
        <https://docs.opengeosys.org/download> ?

        n

        On 05/17/2017 07:04 AM, Mohammad Islam wrote:
         >
         > Dear Nori,
         > Thank you for your reply.
         >
         > I checked ogs6-utils-x32. But, did not find the
        swapNodeCoordinateAxes
         > tool. However, in \ogs-master\Applications\Utils\MeshEdit, I
        found
         > swapNodeCoordinateAxes.cpp. Is there any other source to find
        the
         > swapNodeCoordinateAxes tool?
         >
         > Thanks in advance.
         >
         > Regards,
         > Mohammad
         >
         > On Tuesday, 16 May 2017 17:53:29 UTC-4, Norihiro Watanabe wrote:
         >
         > Hi,
         >
         > generateStructuredMesh is currently not supporting
        generation of a 2D
         > mesh in x-z plane. After creating a mesh in x-y plane,
        you should run
         > swapNodeCoordinateAxes tool to convert it to x-z plane.
         >
         > nori
         >
         > On 05/17/2017 06:27 AM, Mohammad Islam wrote:
         > > Hi All,
         > > I want to generate structured mesh for Quad elements. I
        read
         > following link
         > >
         >
        https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation
        <https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation>

         > <https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation
        <https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation>>

         >
         > >
         > > Soil column width (x-direction)=0.1
         > > Height (z-direction)=1.0
         > >
         > > Along the z-direction, number of elements are 20.
         > >
         > > I used following commands
         > > bin/generateStructuredMesh -o quad_1x20.msh -e quad
        --lx .1 --lz 1.0
         > > --nx 1 --nz 20
         > >
         > > The error message is "error: Missing input: Length for
        dimension
         > [1] is
         > > required but missing". Any idea what is wrong here?
         > >
         > > On the other hand, if I want to plot in x-y plane with
        same element
         > > number with following commands, it is working
         > >
         > > bin/generateStructuredMesh -o quad_1x20.msh -e quad
        --lx .1 --ly 1.0
         > > --nx 1 --ny 20
         > >
         > > Regards,
         > > Mohammad
         > >
         > > --
         > > 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 <javascript:>
         > > <mailto:ogs-users+...@googlegroups.com <javascript:>>.
         > > For more options, visit
        https://groups.google.com/d/optout
        <https://groups.google.com/d/optout>
         > <https://groups.google.com/d/optout
        <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
        <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.

Dear Nori,

Thank you for your kind support.

Regards,

Mohammad

···

On Thursday, 18 May 2017 18:00:26 UTC-4, Norihiro Watanabe wrote:

Hi Mohammad,

No there is no another trick. you did it correctly. I also tried and got
the same wrong result. It seems there is a bug in the program. I’ll
check it later.

Meanwhile what you can do is manually swapping the columns using EXCEL
or something similar, or using GINA which is available from

https://teambeam.bgr.de/my/drive#!folder=68

best,
nori

On 05/19/2017 03:59 AM, Mohammad Islam wrote:

Dear Nori,
I generated structured mesh for Triangular element in XY plane
(tri_2-40-xy.msh). Now using swapNodeCoordinateAxes
tool, I want to generate mesh in XZ plane. I used following command

bin/swapNodeCoordinateAxes -n XZY -o tri_2-40-xz.msh -i tri_2-40-xy.msh

The output file is tri_2-40-xz.msh. But, in the node coordinates, X, Z
values are zero.

The soil column width and height are 0.1 m and 1.0 m.

Is there any other tricks to run swapNodeCoordinateAxes tools or is
there anything missing in the command? For your kind consideration I
attached input file (tri_2-40-xy.msh) & output file (tri_2-40-xz.msh)

Thanks in advance.

Regards,
Mohammad

Regards

On Tuesday, 16 May 2017 21:21:53 UTC-4, Mohammad Islam wrote:

Dear Nori,
Thank you. Yes, it is available there.

Regards,
Mohammad

On Tuesday, 16 May 2017 18:10:39 UTC-4, Norihiro Watanabe wrote:

    how about the zip file linked from "Windows Data Explorer" in
    [https://docs.opengeosys.org/download](https://docs.opengeosys.org/download)
    <[https://docs.opengeosys.org/download](https://docs.opengeosys.org/download)> ?

    n

    On 05/17/2017 07:04 AM, Mohammad Islam wrote:
     >
     > Dear Nori,
     > Thank you for your reply.
     >
     > I checked ogs6-utils-x32. But, did not find the
    swapNodeCoordinateAxes
     > tool. However, in \ogs-master\Applications\Utils\MeshEdit, I
    found
     > swapNodeCoordinateAxes.cpp. Is there any other source to find
    the
     > swapNodeCoordinateAxes tool?
     >
     > Thanks in advance.
     >
     > Regards,
     > Mohammad
     >
     > On Tuesday, 16 May 2017 17:53:29 UTC-4, Norihiro Watanabe wrote:
     >
     >     Hi,
     >
     >     generateStructuredMesh is currently  not supporting
    generation of a 2D
     >     mesh in x-z plane. After creating a mesh in x-y plane,
    you should run
     >     swapNodeCoordinateAxes tool to convert it to x-z plane.
     >
     >     nori
     >
     >
     >     On 05/17/2017 06:27 AM, Mohammad Islam wrote:
     >     > Hi All,
     >     > I want to generate structured mesh for Quad elements. I
    read
     >     following link
     >     >
     >
    [https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation](https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation)
    <[https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation](https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation)>

     >    
    <[https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation](https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation)
    <[https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation](https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation)>>

     >
     >     >
     >     > Soil column width (x-direction)=0.1
     >     > Height (z-direction)=1.0
     >     >
     >     > Along the z-direction, number of elements are 20.
     >     >
     >     > I used following commands
     >     > bin/generateStructuredMesh -o quad_1x20.msh -e quad
    --lx .1 --lz 1.0
     >     > --nx 1 --nz 20
     >     >
     >     > The error message is "error: Missing input: Length for
    dimension
     >     [1] is
     >     > required but missing". Any idea what is wrong here?
     >     >
     >     > On the other hand, if I want to plot in x-y plane with
    same element
     >     > number with following commands, it is working
     >     >
     >     > bin/generateStructuredMesh -o quad_1x20.msh -e quad
    --lx .1 --ly 1.0
     >     > --nx 1 --ny 20
     >     >
     >     > Regards,
     >     > Mohammad
     >     >
     >     > --
     >     > 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 <javascript:>
     >     > <mailto:ogs-users+...@googlegroups.com <javascript:>>.
     >     > For more options, visit
    [https://groups.google.com/d/optout](https://groups.google.com/d/optout)
    <[https://groups.google.com/d/optout](https://groups.google.com/d/optout)>
     >     <[https://groups.google.com/d/optout](https://groups.google.com/d/optout)
    <[https://groups.google.com/d/optout](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](https://groups.google.com/d/optout)
    <[https://groups.google.com/d/optout](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.

Hi,

the bug is fixed in master branch.

best,
nori

···

On 19.05.17 22:33, Mohammad Islam wrote:

Dear Nori,
Thank you for your kind support.

Regards,
Mohammad

On Thursday, 18 May 2017 18:00:26 UTC-4, Norihiro Watanabe wrote:

    Hi Mohammad,

    No there is no another trick. you did it correctly. I also tried and
    got
    the same wrong result. It seems there is a bug in the program. I'll
    check it later.

    Meanwhile what you can do is manually swapping the columns using EXCEL
    or something similar, or using GINA which is available from

    https://teambeam.bgr.de/my/drive#!folder=68
    <https://teambeam.bgr.de/my/drive#!folder=68>

    best,
    nori

    On 05/19/2017 03:59 AM, Mohammad Islam wrote:
    > Dear Nori,
    > I generated structured mesh for Triangular element in XY plane
    > (tri_2-40-xy.msh). Now using swapNodeCoordinateAxes
    > tool, I want to generate mesh in XZ plane. I used following command
    >
    > bin/swapNodeCoordinateAxes -n XZY -o tri_2-40-xz.msh -i
    tri_2-40-xy.msh
    >
    > The output file is tri_2-40-xz.msh. But, in the node coordinates,
    X, Z
    > values are zero.
    >
    > The soil column width and height are 0.1 m and 1.0 m.
    >
    > Is there any other tricks to run swapNodeCoordinateAxes tools or is
    > there anything missing in the command? For your kind consideration I
    > attached input file (tri_2-40-xy.msh) & output file (tri_2-40-xz.msh)
    >
    > Thanks in advance.
    >
    > Regards,
    > Mohammad
    >
    > Regards
    >
    > On Tuesday, 16 May 2017 21:21:53 UTC-4, Mohammad Islam wrote:
    >
    > Dear Nori,
    > Thank you. Yes, it is available there.
    >
    > Regards,
    > Mohammad
    >
    > On Tuesday, 16 May 2017 18:10:39 UTC-4, Norihiro Watanabe wrote:
    >
    > how about the zip file linked from "Windows Data Explorer" in
    > https://docs.opengeosys.org/download
    <https://docs.opengeosys.org/download>
    > <https://docs.opengeosys.org/download
    <https://docs.opengeosys.org/download>> ?
    >
    > n
    >
    > On 05/17/2017 07:04 AM, Mohammad Islam wrote:
    > >
    > > Dear Nori,
    > > Thank you for your reply.
    > >
    > > I checked ogs6-utils-x32. But, did not find the
    > swapNodeCoordinateAxes
    > > tool. However, in
    \ogs-master\Applications\Utils\MeshEdit, I
    > found
    > > swapNodeCoordinateAxes.cpp. Is there any other source
    to find
    > the
    > > swapNodeCoordinateAxes tool?
    > >
    > > Thanks in advance.
    > >
    > > Regards,
    > > Mohammad
    > >
    > > On Tuesday, 16 May 2017 17:53:29 UTC-4, Norihiro > Watanabe wrote:
    > >
    > > Hi,
    > >
    > > generateStructuredMesh is currently not supporting
    > generation of a 2D
    > > mesh in x-z plane. After creating a mesh in x-y plane,
    > you should run
    > > swapNodeCoordinateAxes tool to convert it to x-z
    plane.
    > >
    > > nori
    > >
    > > On 05/17/2017 06:27 AM, Mohammad Islam wrote:
    > > > Hi All,
    > > > I want to generate structured mesh for Quad
    elements. I
    > read
    > > following link
    > > >
    > >
    >
    https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation
    <https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation>

    >
    <https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation
    <https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation>>

    >
    > >
    >
    <https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation
    <https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation>

    >
    <https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation
    <https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation>>>

    >
    > >
    > > >
    > > > Soil column width (x-direction)=0.1
    > > > Height (z-direction)=1.0
    > > >
    > > > Along the z-direction, number of elements are 20.
    > > >
    > > > I used following commands
    > > > bin/generateStructuredMesh -o quad_1x20.msh -e quad
    > --lx .1 --lz 1.0
    > > > --nx 1 --nz 20
    > > >
    > > > The error message is "error: Missing input:
    Length for
    > dimension
    > > [1] is
    > > > required but missing". Any idea what is wrong here?
    > > >
    > > > On the other hand, if I want to plot in x-y plane
    with
    > same element
    > > > number with following commands, it is working
    > > >
    > > > bin/generateStructuredMesh -o quad_1x20.msh -e quad
    > --lx .1 --ly 1.0
    > > > --nx 1 --ny 20
    > > >
    > > > Regards,
    > > > Mohammad
    > > >
    > > > --
    > > > 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
    <javascript:>
    > > > <mailto:ogs-users+...@googlegroups.com
    <javascript:>>.
    > > > For more options, visit
    > https://groups.google.com/d/optout
    <https://groups.google.com/d/optout>
    > <https://groups.google.com/d/optout
    <https://groups.google.com/d/optout>>
    > > <https://groups.google.com/d/optout
    <https://groups.google.com/d/optout>
    > <https://groups.google.com/d/optout
    <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
    > <https://groups.google.com/d/optout
    <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 <javascript:>
    > <mailto:ogs-users+...@googlegroups.com <javascript:>>.
    > For more options, visit https://groups.google.com/d/optout
    <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.

--
渡邉 教弘(工博 Dr.-Ing.)

国立研究開発法人 産業技術総合研究所
再生可能エネルギー研究所(FREA)
再生可能エネルギー研究センター
地熱チーム 研究員

〒963-0298 福島県郡山市待池台二丁目2番9
TEL: 029-861-4463 (内222-44463)
FAX: 024-963-0828
E-MAIL: norihiro.watanabe@aist.go.jp
URL: http://www.aist.go.jp/fukushima/

Dear Nori,

Thank you for your update. I will check it soon.

Regards,

Mohammad

···

On Monday, 22 May 2017 07:55:19 UTC-4, Norihiro Watanabe wrote:

Hi,

the bug is fixed in master branch.

https://github.com/ufz/ogs/pull/1815

best,
nori

On 19.05.17 22:33, Mohammad Islam wrote:

Dear Nori,
Thank you for your kind support.

Regards,
Mohammad

On Thursday, 18 May 2017 18:00:26 UTC-4, Norihiro Watanabe wrote:

Hi Mohammad,

No there is no another trick. you did it correctly. I also tried and
got
the same wrong result. It seems there is a bug in the program. I'll
check it later.

Meanwhile what you can do is manually swapping the columns using EXCEL
or something similar, or using GINA which is available from

[https://teambeam.bgr.de/my/drive#!folder=68](https://teambeam.bgr.de/my/drive#!folder=68)
<[https://teambeam.bgr.de/my/drive#!folder=68](https://teambeam.bgr.de/my/drive#!folder=68)>


best,
nori



On 05/19/2017 03:59 AM, Mohammad Islam wrote:
> Dear Nori,
> I generated structured mesh for Triangular element in XY plane
> (tri_2-40-xy.msh). Now using swapNodeCoordinateAxes
> tool, I want to generate mesh in XZ plane. I used following command
>
> bin/swapNodeCoordinateAxes -n XZY -o tri_2-40-xz.msh -i
tri_2-40-xy.msh
>
> The output file is tri_2-40-xz.msh. But, in the node coordinates,
X, Z
> values are zero.
>
> The soil column width and height are 0.1 m and 1.0 m.
>
> Is there any other tricks to run swapNodeCoordinateAxes tools or is
> there anything missing in the command? For your kind consideration I
> attached input file (tri_2-40-xy.msh) & output file (tri_2-40-xz.msh)
>
> Thanks in advance.
>
> Regards,
> Mohammad
>
> Regards
>
> On Tuesday, 16 May 2017 21:21:53 UTC-4, Mohammad Islam wrote:
>
>     Dear Nori,
>     Thank you. Yes, it is available there.
>
>     Regards,
>     Mohammad
>
>     On Tuesday, 16 May 2017 18:10:39 UTC-4, Norihiro Watanabe wrote:
>
>         how about the zip file linked from "Windows Data Explorer" in
>         [https://docs.opengeosys.org/download](https://docs.opengeosys.org/download)
<[https://docs.opengeosys.org/download](https://docs.opengeosys.org/download)>
>         <[https://docs.opengeosys.org/download](https://docs.opengeosys.org/download)
<[https://docs.opengeosys.org/download](https://docs.opengeosys.org/download)>> ?
>
>         n
>
>         On 05/17/2017 07:04 AM, Mohammad Islam wrote:
>          >
>          > Dear Nori,
>          > Thank you for your reply.
>          >
>          > I checked ogs6-utils-x32. But, did not find the
>         swapNodeCoordinateAxes
>          > tool. However, in
\ogs-master\Applications\Utils\MeshEdit, I
>         found
>          > swapNodeCoordinateAxes.cpp. Is there any other source
to find
>         the
>          > swapNodeCoordinateAxes tool?
>          >
>          > Thanks in advance.
>          >
>          > Regards,
>          > Mohammad
>          >
>          > On Tuesday, 16 May 2017 17:53:29 UTC-4, Norihiro > >     Watanabe wrote:
>          >
>          >     Hi,
>          >
>          >     generateStructuredMesh is currently  not supporting
>         generation of a 2D
>          >     mesh in x-z plane. After creating a mesh in x-y plane,
>         you should run
>          >     swapNodeCoordinateAxes tool to convert it to x-z
plane.
>          >
>          >     nori
>          >
>          >
>          >     On 05/17/2017 06:27 AM, Mohammad Islam wrote:
>          >     > Hi All,
>          >     > I want to generate structured mesh for Quad
elements. I
>         read
>          >     following link
>          >     >
>          >
>
[https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation](https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation)
<[https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation](https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation)>

>
<[https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation](https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation)
<[https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation](https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation)>>

>
>          >
>
<[https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation](https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation)
<[https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation](https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation)>

>
<[https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation](https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation)
<[https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation](https://docs.opengeosys.org/docs/tools/meshing/structured-mesh-generation)>>>

>
>          >
>          >     >
>          >     > Soil column width (x-direction)=0.1
>          >     > Height (z-direction)=1.0
>          >     >
>          >     > Along the z-direction, number of elements are 20.
>          >     >
>          >     > I used following commands
>          >     > bin/generateStructuredMesh -o quad_1x20.msh -e quad
>         --lx .1 --lz 1.0
>          >     > --nx 1 --nz 20
>          >     >
>          >     > The error message is "error: Missing input:
Length for
>         dimension
>          >     [1] is
>          >     > required but missing". Any idea what is wrong here?
>          >     >
>          >     > On the other hand, if I want to plot in x-y plane
with
>         same element
>          >     > number with following commands, it is working
>          >     >
>          >     > bin/generateStructuredMesh -o quad_1x20.msh -e quad
>         --lx .1 --ly 1.0
>          >     > --nx 1 --ny 20
>          >     >
>          >     > Regards,
>          >     > Mohammad
>          >     >
>          >     > --
>          >     > 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
<javascript:>
>          >     > <mailto:ogs-users+...@googlegroups.com
<javascript:>>.
>          >     > For more options, visit
>         [https://groups.google.com/d/optout](https://groups.google.com/d/optout)
<[https://groups.google.com/d/optout](https://groups.google.com/d/optout)>
>         <[https://groups.google.com/d/optout](https://groups.google.com/d/optout)
<[https://groups.google.com/d/optout](https://groups.google.com/d/optout)>>
>          >     <[https://groups.google.com/d/optout](https://groups.google.com/d/optout)
<[https://groups.google.com/d/optout](https://groups.google.com/d/optout)>
>         <[https://groups.google.com/d/optout](https://groups.google.com/d/optout)
<[https://groups.google.com/d/optout](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](https://groups.google.com/d/optout) <[https://groups.google.com/d/optout](https://groups.google.com/d/optout)>
>         <[https://groups.google.com/d/optout](https://groups.google.com/d/optout)
<[https://groups.google.com/d/optout](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 <javascript:>
> <mailto:ogs-users+...@googlegroups.com <javascript:>>.
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout)
<[https://groups.google.com/d/optout](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.


渡邉 教弘(工博 Dr.-Ing.)

国立研究開発法人 産業技術総合研究所
再生可能エネルギー研究所(FREA)
再生可能エネルギー研究センター
地熱チーム 研究員

〒963-0298 福島県郡山市待池台二丁目2番9
TEL: 029-861-4463 (内222-44463)
FAX: 024-963-0828
E-MAIL: norihiro…@aist.go.jp

URL: http://www.aist.go.jp/fukushima/