Using paraview to do the post processing of cpm material
Hi,
I am attempting to use paraview to do some post processing of a model using cpm material.
I have some confusion as following.
[1] I want to output some results that can indicate the damage condition of the model. So which information should I be concerned, such as ‘cmpDamage’, ‘cmpStress’ or ‘forceN’? What the specific meaning of cpmDamage and cmpStress are?
[2] I used the paraview to display the data set ‘spheres‘ and chosen cpmDamage following the 'Coloring' button. But the paraview appear error information such as ‘Warning: Range [1,10] invalid for log scaling. Changing to [0,0]. The cpmDamage information did not save, why?
If I chosen cpmStress, it appears 'Warning: Range [0,9.31449e-05] invalid for log scaling. Changing to [9.31449e-
[3] Can the paraview output the orientation distribution of sphere? If it can, How to do it?
[4] Can you give me some post processing example of cpm material?
Thank you.
Liu keqi
The following is my code.
*******
#!/usr/bin/python # This is server.py file
import string
from yade import plot,qt
from yade.pack import *
from yade import pack, plot
O.materials.
initSize=0.4
sp=pack.
O.periodic=True
sp.toSimulation()
O.dt=1e-7
plot.plots=
def plotAddData():
plot.addData(
sy=p3d.stress[1],
ey=p3d.strain[1],
ex=p3d.strain[0]
)
EnlargeFactor=1.5
EnlargeFactor=1.0
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
NewtonIntegrat
Peri3dController(
nSteps=4000,
label='p3d'
),
PyRunner(
VTKRecorder(
]
p3d.stressMask=
p3d.goal=
O.step()
bo1s.aabbEnlarg
O.run(); O.wait()
plot.plot(
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jan Stránský
- Solved:
- Last query:
- Last reply: