Search found 16 matches

by Coco
14 May 2015, 06:42
Forum: ElmerSolver
Topic: allocate crsmatrix
Replies: 0
Views: 1057

allocate crsmatrix

Hi, I have a question about Function CRS_CreateMatrix(). I want to know how to calculate the argument"Total". And i know Total is Model % TotalMatrixElements, Model % TotalMatrixElements seems to be calculated by SUBROUTINE MakeListMatrix(). I know nothing about listmatrix. Is Model % TotalMatrixEle...
by Coco
26 Apr 2015, 11:04
Forum: ElmerSolver
Topic: Function has no IMPICIT Type
Replies: 1
Views: 739

Re: Function has no IMPICIT Type

Hi,

Add the line:
INTEGER, pointer,external:: GetIndexStore

And change Indexes => GetIndexStore()

to Indexes = GetIndexStore()

Then it works.

Coco
by Coco
26 Apr 2015, 10:22
Forum: ElmerSolver
Topic: Function has no IMPICIT Type
Replies: 1
Views: 739

Function has no IMPICIT Type

Hi, I write the code as follow: SUBROUTINE shellsolve(...) ... CONTAINS ... SUBROUTINE DefauUpdateForce(bb,ff) TYPE(Matrix_t) :: bb REAL(KIND=dp) :: ff(:) TYPE(Element_t), POINTER :: Element INTEGER, POINTER :: Indexes(:) INTEGER :: n, ndofs ndofs=6 Indexes => GetIndexStore() Element => CurrentModel...
by Coco
23 Apr 2015, 04:44
Forum: ElmerSolver
Topic: Matrix format
Replies: 4
Views: 1128

Re: Matrix format

Hi,

I need to calculate the famula,like total=a1+a2+a3+...+an

So i need to define two variables: total and a.

right?

Coco
by Coco
22 Apr 2015, 19:29
Forum: ElmerSolver
Topic: Solver unable to find FlowSolve.dll
Replies: 7
Views: 3437

Re: Solver unable to find FlowSolve.dll

Hi,

I have the same question about C++2010.

Elmer works as usual.

I remembered that about 60% of installation is slow,but the rest is very fast.Just in 1 second.

Is it correctlly installed?

Coco
by Coco
22 Apr 2015, 19:20
Forum: ElmerSolver
Topic: Matrix format
Replies: 4
Views: 1128

Re: Matrix format

Hi Peter, Maybe i need CRS I have no idea of List format of matrix I want to know which format does shellsolver.f90 use. By the way,I want to ask another question When i declare a type Variable_t:: qq,there is a pointer qq%value. I want to know where the target is. I think the pointer is point to th...
by Coco
22 Apr 2015, 16:12
Forum: ElmerSolver
Topic: Matrix format
Replies: 4
Views: 1128

Matrix format

Hi,

Can i choose the format of matrix by setting in the .sif?

In the code,i can set the format by Matrix%format=1,2,3,4,right?

But if there is no Matrix%format in my own code, the default format is CRS?

Where can i find the default set?

Thanks,
Coco
by Coco
21 Apr 2015, 05:37
Forum: ElmerSolver
Topic: About Type
Replies: 0
Views: 959

About Type

Hi,

In TYPE Variable_t,

there is REAL(KIND=dp), POINTER :: Values(:)

I want to know which the target is,when I define a variable.

e.g
Deflection => Solver % Variable % Values

Thanks,
Coco
by Coco
18 Apr 2015, 15:18
Forum: ElmerGUI
Topic: Loading saved project and data loss
Replies: 3
Views: 2577

Re: Loading saved project and data loss

Hi,

why did you reload project?

I want to say,

you can save sif to another name firstly.

and than

after you reload ,you can re-edit the sif to that you have saved.

Attantion,

you need to modify the file ELMERSOLVER_STARTINFO.

e.g change case.sif to that "another name.sif"

Coco
by Coco
18 Apr 2015, 14:34
Forum: ElmerGUI
Topic: Help needed to export ANSYS meshes to Elmer
Replies: 10
Views: 6765

Re: Help needed to export ANSYS meshes to Elmer

Hi, First,I try the inp using ELmerGrid 5 2 plate.But I got noting.There is no mesh file. The inp: plate.inp in the attachment. The phote in ABAQUS: 1.png in the attachment The information given by cmd: 2.png in the attachment Then I try the fil.It is a binary file.And ElmerGrid.exe has stop working...