Search found 27 matches

by shirazbj
02 Apr 2011, 15:48
Forum: ElmerPost
Topic: no space between two data in ep file
Replies: 2
Views: 3931

Re: no space between two data in ep file

I got an answer at sketchucation like this:

b = file.gets()
vx = b[0..19].strip.to_f
vy = b[20..38].strip.to_f
vz = b[39..-1].strip.to_f

It works for me.

Thanks Peter
by shirazbj
01 Apr 2011, 07:26
Forum: ElmerPost
Topic: no space between two data in ep file
Replies: 2
Views: 3931

no space between two data in ep file

Hi, I am tring to read an ep file with Ruby in SketchUP under Windows like this: b = file.gets() c=b.split(" ") but the result section of the ep file is like this: 0.208646094863E+000-0.513313617099E-001-0.915625940530E-003 0.180604789668E+000-0.240882759294E-001-0.872767876563E-003 no spa...
by shirazbj
03 Nov 2010, 15:55
Forum: ElmerPost
Topic: EP file need all elements?
Replies: 7
Views: 7063

Re: EP file need all elements?

I assigned the cell center value to every n
clipped one
clipped one
cut.gif (9.07 KiB) Viewed 6501 times
good one
good one
good.gif (9.67 KiB) Viewed 6501 times
odes of the cell in my code and finally got the right EP file.
by shirazbj
02 Nov 2010, 05:00
Forum: ElmerPost
Topic: EP file need all elements?
Replies: 7
Views: 7063

Re: EP file need all elements?

Hi Peter,

Is it possible for ElmerPost to assign the cell center value to every nodes of the cell? It's not precise, but good for a quick look.

Regards,

Cena
by shirazbj
01 Nov 2010, 05:47
Forum: ElmerPost
Topic: EP file need all elements?
Replies: 7
Views: 7063

Re: EP file need all elements?

Ok, I need to get the nodal value from cell centered value.

Thanks.
by shirazbj
30 Oct 2010, 14:13
Forum: ElmerPost
Topic: EP file need all elements?
Replies: 7
Views: 7063

Re: EP file need all elements?

Hi Peter, Sorry, I didn't understand what you said. I have attached my EP file, it includes both the surface elements and inside solid elements. Because the values for the surface element are all 0, it shows all BLUE. Though there are 3 solid elements that have value of 1, I can't see through the su...
by shirazbj
22 Oct 2010, 13:49
Forum: ElmerPost
Topic: EP file need all elements?
Replies: 7
Views: 7063

Re: EP file need all elements?

This is what I want to get.

But it is in VTK format. It only has value for inside solid elements for one time step.

I want to output in a single EP file which includes all time step data to animate the dam break process.
by shirazbj
22 Oct 2010, 05:22
Forum: ElmerPost
Topic: EP file need all elements?
Replies: 7
Views: 7063

EP file need all elements?

Hi, I am trying to output an EP file from my code. I have both solid elements and surface elements for my case. It is a 3D geometry, but only solved in 2D. Like a flow around a column in a channel. Just wondering do I need to output all elements? Could I just output solid elements or surface element...
by shirazbj
13 Sep 2010, 14:34
Forum: ElmerPost
Topic: Vertex number out of range?
Replies: 2
Views: 4048

Re: Vertex number out of range?

yes.that's it. no prolem now.

Thanks
by shirazbj
12 Sep 2010, 17:08
Forum: ElmerPost
Topic: Vertex number out of range?
Replies: 2
Views: 4048

Vertex number out of range?

Hi, I read an EP file with ElmerPost, but got messages saying: geo-triangle-normal: vertex number [3133,52851,60856] out of range geo-add-triangle: vertex number [3133,52851,60856] out of range I have total 6 of them. All include a number '60856' The EP file has 60856 vertexes and 155790 elements. W...