Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SSS148 on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Post-Processing for Membrane Element FEA

Status
Not open for further replies.

E720

Structural
Feb 20, 2018
71
This might be a long shot but I just finished writing a membrane element FEA program in C++. I want to create "heat maps" of stress, displacement, etc. I was going to just have the program write a .obj file OR a .eps file, both of which types I have used before. Before starting this though I wanted to know if anybody else has done this or if there is a better answer. I know the easiest would probably to be to do it in matlab but I don't want my program to be dependent on Matlab.

Thanks,
E720

Oh and to clarify they are just 2d elements.
 
Replies continue below

Recommended for you

After an evening of exploring it seems like having the program spit out a post script file will be the easiest.
 
well ... to do graphic output is sometimes more 'work' than element programming :)
As an old fortran programmer I know that 'problem'
but using C++ or C# should be easier ......but you probably need some addon or graphic libraries .....
in Fortran I user Winteracter

other possibility is to transfer your data to any other comercial program to display the results
many ways to do that ....

 
Thanks Klaus, I think that the Adobe Postscript .eps file will work well for me. I basically just need to "connect-the-dots" and then I plan on just filling in the element with a color, red = max stress, blue = min stress and linear interpolation of rgb values inbetween. Once I get it working I will post what it looks like
 
many many year ago at the university I wrote once an postscript output routine for the FE Program ( in Fortran) ...
It is possible...yes .... but I am sure there are nowadays much easier ways to do it
 
I didn't get the coloring to work correctly so I just print out the stresses at each gauss point. I have attached an example of what I am talking about. I plan on putting a header, project information, etc. still.
 
 https://files.engineering.com/getfile.aspx?folder=008831ea-9740-4781-8f63-036aadee2ac2&file=plate_with_hole_-_maximum_principle_stresses_at_gauss_points.pdf
Status
Not open for further replies.

Part and Inventory Search

Sponsor