Personal tools
You are here: Home / Members / glennr's Home / Generate data points at element centres for viewing strain
Navigation
Log in


Forgot your password?
 

Generate data points at element centres for viewing strain

Notes about how to generate data points at element centres for viewing strain.

To generate the data points


Define a basis with only one gauss point.

Load the mesh.

Define a grid with only one point per element and load using the gauss option.

  fem define grid;<filename> gauss

Define data using the grid and save it.

fem define data;c from_grid
fem define data;w;<filename>

Note that the grid can only be defined using linear bases so if the mesh uses higher order bases then the data points may not be exactly at Xi=0.5 when material locations are calculated using the higher order interpolation.

To view the strain


Load and solve the problem.

Load the data points created above and calculate xi locations

fem define data;r;<filename>
fem define xi;c closest

View the strain

fem list strain data