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

You are not logged in.

#1 2018-04-11 22:33:03

JakeZwart
Member
Registered: 2012-05-25
Posts: 51

Show torsional vibration in ParaVis (or other)

I am working on a torsional vibration problem.  The next step is to visualize the torsional mode shape.  I spent some time today looking at ParaVis to see how I can visualize DRX the rotational degree of freedom from the beam element. 

After a while I put the results along with mesh information (IMPR_RESU) in a file of result format (ASCII) and just used a spreadsheet to plot the torsion DRX. 

How would I do this directly in ParaVis?

I have attached the files in case it helps.

Jake


Attachments:
torsional.zip, Size: 134.27 KiB, Downloads: 20

Offline

#2 2018-04-16 10:02:37

jeanpierreaubry
Guru
From: nantes (france)
Registered: 2009-03-12
Posts: 3,191

Re: Show torsional vibration in ParaVis (or other)

hello

to be able to view something print it first
try this

IMPR_RESU(
	FORMAT='MED', UNITE=80,
	RESU=( 
		_F(RESULTAT=modes,NOM_CHAM=('DEPL',),NOM_CMP=('DX','DY','DZ',),),
		_F(RESULTAT=modes,NOM_CHAM=('DEPL',),NOM_CMP=('DRX',),NOM_CHAM_MED='drx',),
	),
);

for viewing i use Gmsh and it gives the attached view

jean pierre aubry


Attachments:
drx.png, Size: 7.04 KiB, Downloads: 32

Offline

#3 2018-04-17 02:59:41

JakeZwart
Member
Registered: 2012-05-25
Posts: 51

Re: Show torsional vibration in ParaVis (or other)

Thanks jeanpierre

Based on that and some more experimentation I used the following code snippet:

IMPR_RESU(
  FORMAT='RESULTAT', 
  RESU=_F(
    IMPR_COOR='OUI', 
    NOM_CHAM=('DEPL', ), 
    NOM_CMP=('DX', 'DY', 'DZ', 'DRX'), 
    RESULTAT=modes
  ), 
  UNITE=10
)

This gives text output that can be copied and pasted into a spreadsheet for copying.  If I spent more time or were more clever I am sure that the plotting can be done within Salome-Meca using XmGrace.

It seems that it is not easy to do in ParaVis based on the lack of responses.

Last edited by JakeZwart (2018-04-17 14:19:30)

Offline

Board footer