Author Topic: How to generate domains using Mertis ?  (Read 3959 times)

36051121

  • Jr. Member
  • **
  • Posts: 32
How to generate domains using Mertis ?
« on: February 19, 2014, 09:28:32 AM »
I want to try parallel FEAP. How to generate domains using Mertis ?  What is the command to cut the mode into several submodels for parallel FEAP. I find no command line in the ParaFEAP manual.
I have installed the Para FEAP and wrote the input file according to the ParaFEAP manual. But when I type  'feap -iIfile', it reads '
*ERROR* GRAPh command only available in parallel version
 *ERROR* OUTDomain command only available in parallel version''

Code: [Select]
FEAP
  0  0  1  3  3  8

cons
h=1
m=20
n=20
w=20


para
a=m*h
b=n*h
c=w*h


MATErial,1
  SOLId
    ELAStic ISOTropic 1000.0  0.25

block
cartesian,n,w,m,,,1,10
1 0.0  0.0  0.0
2 0    b    0.0
3 0    b    c
4 0.0  0.0  c
5 a    0.0  0.0
6 a    b    0.0
7 a    b    c
8 a    0.0  c

cboun
node 0.0 0.0 0.0     1, 1, 1

eboun
3 0  0 0 1
3 c  0 0 1

edisp
3 0  0  0  0.0
3 c  0  0  0.1


END


batch
 graph node 5
 outdomains
end batch


inte

STOP

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2649
Re: How to generate domains using Mertis ?
« Reply #1 on: February 19, 2014, 11:11:46 AM »
You must run the parallel version of feap to do the graph partitioins.

36051121

  • Jr. Member
  • **
  • Posts: 32
Re: How to generate domains using Mertis ?
« Reply #2 on: February 20, 2014, 05:41:32 AM »
You must run the parallel version of feap to do the graph partitioins.
I do not know the command for parallel FEAP, though I have installed parallel FEAP successfully. Is the command ´feap -iIfile´? But it does not work.
I have not found the command for parallel FEAP in the manual.
Many thanks.

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: How to generate domains using Mertis ?
« Reply #3 on: February 20, 2014, 02:10:33 PM »
The parallel executable is at $FEAPHOME8_4/parfeap/feap .
For the purposes of partitioning you execute it just like the serial version.

> $FEAPHOME8_4/parfeap/feap

The after setting the file names you can call the graph partitioner with GRAPh,node,4 (for example for a 4 domain partitioning) followed by OUTDomain,aij,1 (for example for AIJ output with boundary equations included).

abbhuiya

  • Jr. Member
  • **
  • Posts: 14
Re: How to generate domains using Mertis ?
« Reply #4 on: April 15, 2014, 12:18:13 AM »
I faced the same problem. You can try the following steps:

1. Go to the "parfeap" subdirectory. For example:

/FEAP-83-2011-new/ver83/parfeap

2. In the "parfeap" subdirectory, you must have the input file that you want to split. For example "Ipatch_4el" is the input file that you want to split.

3. Run the executable file "feap" using the following command:

mpirun -np nump feap 2 Ipatch_4el

4. Enter the name of your input file (Ipatch_4el) when asked.

5. After running, you will see the following 2 files:

    -Ipatch_4el_0001
    -Ipatch_4el_0002

So, I think these are the steps to split an input file into several input files. Let me know if this helped!