Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2020-06-12 03:03:57

Nidish
Member
Registered: 2020-06-04
Posts: 18

Unable to Postprocess STAT_NON_LIN results in Paraview (SMECA 2019)

Hello all,

I have Salome_Meca 2019 installed on Ubuntu 19.10.
I'm doing a static non-linear contact analysis (from youtube.com/watch?v=KVBhOaLh_Is ). Once the analysis is completed, I can post-process the resulting ".rmed" file in the Asterstudy postprocessor alright, but I am unable to post-process it in Paravis. The color field is never able to update to the data.

The "Message Window" displays the errors:

 
ERROR: In /home/A21173/smeca/yamm_build/V2019.0.3_pub_build/V2019_universal/modules/src/PARAVIS/src/Plugins/StaticMesh/vtkStaticDataSetSurfaceFilter.cxx, line 64 vtkDataSetSurfaceFilter (0x5627edddd690): OriginalPointIds or OriginalCellIds are missing, cannot use static mesh cache 
ERROR: In /home/A21173/smeca/yamm_build/V2019.0.3_pub_build/V2019_universal/modules/src/PARAVIS/src/Plugins/StaticMesh/vtkStaticDataSetSurfaceFilter.cxx, line 64 vtkDataSetSurfaceFilter (0x5627edddd690): OriginalPointIds or OriginalCellIds are missing, cannot use static mesh cache 

Here's my IMPR_RESU command:

 
IMPR_RESU(
  FORMAT='MED', 
  RESU=_F(
    INFO_MAILLAGE='OUI', 
    MAILLAGE=mesh, 
    RESULTAT=resnonl, 
    TOUT='OUI', 
    TOUT_CHAM='OUI'
  ), 
  UNITE=2
)  

I'm attaching the ".rmed" file here.

Offline

#2 2020-06-16 00:58:44

Nidish
Member
Registered: 2020-06-04
Posts: 18

Re: Unable to Postprocess STAT_NON_LIN results in Paraview (SMECA 2019)

Here's the rmed file.


Attachments:
Resu.rmed, Size: 1.88 MiB, Downloads: 44

Offline

#3 2020-06-16 22:06:20

AsterO'dactyle
Administrator
Registered: 2007-11-29
Posts: 342

Re: Unable to Postprocess STAT_NON_LIN results in Paraview (SMECA 2019)

Hello,

You RMED file is correct and I can read it in Paraview.


Code_Asterの開発者

Offline

#4 2020-08-03 18:09:39

Nidish
Member
Registered: 2020-06-04
Posts: 18

Re: Unable to Postprocess STAT_NON_LIN results in Paraview (SMECA 2019)

Well I figured the first issue was due to insufficient space on my drive.
However, I've run into another issue with regards to animating the time steps. My question is summarised here (raised by someone else trying to post process something else, but I'm interested in the same for code aster results):

I can view the deformed mesh in
ParaView using the warp (vector) filter and that works fine for a single
time step.
However, when I got to make an animation I can view the deformation in
time.
If I select the data file as the source then I can animate on time steps
but that's the undeformed mesh.  If I select the Warp filter as the
source then I can only animate on the scale factor, not time steps.  Is
there anyway to do such an animation in ParaView?  Or do I have to apply
the displacements to the coordinate data before loading it into
ParaView?

The above is from here: public kitware com/pipermail/paraview/2005-January/001112 html
(replace space with dots)

Thanks in advance.

Offline

#5 2020-08-06 21:58:54

hberro
Member
From: Palaiseau, France
Registered: 2011-07-05
Posts: 36

Re: Unable to Postprocess STAT_NON_LIN results in Paraview (SMECA 2019)

Asterstudy's integrated post processing allows to do such animations and save to .ogv.

Asterstudy uses entirely paraview so I don't see why you cannot do it yourself...

Offline

#6 2020-08-12 17:41:16

Nidish
Member
Registered: 2020-06-04
Posts: 18

Re: Unable to Postprocess STAT_NON_LIN results in Paraview (SMECA 2019)

I did not know that aster study was based on paraview, but I still can't get animating time histories to work in Paraview (works in asterstudy though).

Are there any specific examples/tutorials for this that you can recommend for paraview?

Offline

#7 2020-08-12 18:11:23

mf
Member
Registered: 2019-06-18
Posts: 93

Re: Unable to Postprocess STAT_NON_LIN results in Paraview (SMECA 2019)

Hi,

below a description of tasks to get an animation of your Resu.rmed from above.


1.) start PARAVIS

2.) Open your Resu.rmed In FILE-->Open Paraview File

3.) Below the PROPERTIES MENU on the left click GENERATEVECTORS

4.) Apply the displacements via FILTERS-->COMMON-->WARP BY VECTOR

5.) Press the PLAY button or choose a timestep, it should work.

6.) If you want to display a certain result, e.g. resnonl_DEPL_Vector choose that.

If you want to export this animation:

6.) make sure the WarpByVector1 result is marked (blue background)

7.) In FILE--> SAVE ANIMATION fill out the dialogue (if in doubt press OK!) --> VOILA!

Find a low res version attached (reminds me of 80s computer graphics :-) ..)

Mario.

Last edited by mf (2020-09-22 10:32:12)


Attachments:
test.ogv, Size: 36.5 KiB, Downloads: 20

Offline