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

You are not logged in.

#1 2019-02-25 03:05:33

nirmaljoshi
Member
From: Japan
Registered: 2018-10-12
Posts: 152

How to visualize load in paravis?

Is it possible to visualize load in paravis? Is yes, how to do that?

Offline

#2 2019-02-25 15:00:22

dbpatankar
Member
From: Roorkee, Uttarakhand, India
Registered: 2010-05-22
Posts: 177

Re: How to visualize load in paravis?

nirmaljoshi wrote:

Is it possible to visualize load in paravis? Is yes, how to do that?

You might want to have a look at CONCEPT keyword in IMPR_RESU.

Offline

#3 2019-02-26 03:34:29

nirmaljoshi
Member
From: Japan
Registered: 2018-10-12
Posts: 152

Re: How to visualize load in paravis?

I tried (CONCEPT=_F(CHARGE=load2)) but could not succeed to display. Here is the command. The screenshot of paravis and mesh is attached. Do I need to do anything in paravis too?

DEBUT(LANG='EN')

mesh = LIRE_MAILLAGE(FORMAT='MED',
                     UNITE=3)

model = AFFE_MODELE(AFFE=(_F(GROUP_MA=('Group_concrete', ),
                             MODELISATION=('D_PLAN', ),
                             PHENOMENE='MECANIQUE'),
                          _F(GROUP_MA=('Group_rebar', ),
                             MODELISATION=('2D_BARRE', ),
                             PHENOMENE='MECANIQUE')),
                    MAILLAGE=mesh)

bar = AFFE_CARA_ELEM(BARRE=_F(CARA=('EP', 'R'),
                              GROUP_MA=('Group_rebar', ),
                              SECTION='CERCLE',
                              VALE=(0.01, 0.01)),
                     MODELE=model)

concrete = DEFI_MATER_GC(MAZARS=_F(CODIFICATION='BAEL91',
                                   FCJ=39000000.0,
                                   UNITE_CONTRAINTE='Pa'))

steel = DEFI_MATER_GC(ACIER=_F(D_SIGM_EPSI=10000000000.0,
                               E=2e+11,
                               NU=0.3,
                               SY=400000000.0))

fieldmat = AFFE_MATERIAU(AFFE=(_F(GROUP_MA=('Group_rebar', ),
                                  MATER=(steel, )),
                               _F(GROUP_MA=('Group_concrete', ),
                                  MATER=(concrete, ))),
                         MAILLAGE=mesh,
                         MODELE=model)

listr = DEFI_LIST_REEL(DEBUT=0.0,
                       INTERVALLE=_F(JUSQU_A=2.0,
                                     PAS=1.0))

fload = DEFI_FONCTION(INTERPOL=('LIN', ),
                      NOM_PARA='INST',
                      PROL_DROITE='LINEAIRE',
                      PROL_GAUCHE='LINEAIRE',
                      VALE=(0.0, 0.0, 100.0, 100.0))

support = AFFE_CHAR_MECA(DDL_IMPO=(_F(DX=0.0,
                                      DY=0.0,
                                      GROUP_NO=('Group_supportNode', )),
                                   _F(DX=0.0,
                                      GROUP_MA=('Group_symSupFace', ))),
                         MODELE=model)

load2 = AFFE_CHAR_MECA(FORCE_NODALE=_F(FY=-50.0,
                                       GROUP_NO=('Group_loadingNode', )),
                       MODELE=model)

resnonl = STAT_NON_LINE(CARA_ELEM=bar,
                        CHAM_MATER=fieldmat,
                        COMPORTEMENT=_F(GROUP_MA=('Group_concrete', ),
                                        RELATION='MAZARS'),
                        EXCIT=(_F(CHARGE=support),
                               _F(CHARGE=load2,
                                  FONC_MULT=fload)),
                        INCREMENT=_F(LIST_INST=listr),
                        MODELE=model)

rxn = CALC_CHAMP(CONTRAINTE=('SIEF_ELNO', ),
                 RESULTAT=resnonl)

IMPR_RESU(CONCEPT=_F(CHARGE=load2),
          FORMAT='MED',
          RESU=(_F(RESULTAT=resnonl),
                _F(RESULTAT=rxn)),
          UNITE=2)

FIN()

Attachments:
2dbeam.zip, Size: 240 KiB, Downloads: 96

Offline

#4 2019-02-26 09:07:56

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

Re: How to visualize load in paravis?

hello

in document U7.51.21, Procedure IMPR_RESU (FORMAT 'MED')
there is a list of what can be printed as CONCEPT in a .med file
FORCE_NODALE is not in that list

in my book there is a solution to print this load as a vector

jean pierre aubry


consider reading my book
freely available here https://framabook.org/beginning-with-code_aster/

Offline

#5 2019-02-26 12:14:26

nirmaljoshi
Member
From: Japan
Registered: 2018-10-12
Posts: 152

Re: How to visualize load in paravis?

Thanks for reply.

@jeanpierreaubry
I guess you meant  U7.05.21. Actually i had read the documentation before posting the question but I missed to read the section 6.2 of the manual. Anyway, thanks!

Could you please tell me in which chapter of your book is the process described?

Offline

#6 2019-02-26 14:22:54

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

Re: How to visualize load in paravis?

yes u7.05.21
maybe yo can read the table of content it is named "showing the applied load"


consider reading my book
freely available here https://framabook.org/beginning-with-code_aster/

Offline

#7 2019-02-26 15:18:35

nirmaljoshi
Member
From: Japan
Registered: 2018-10-12
Posts: 152

Re: How to visualize load in paravis?

@jeanpierreaubry
Thanks for the direction. The book mentions procedure for GMESH, so I am not sure if works in paravis. I will test and post soon.

Offline

#8 2019-02-26 15:21:29

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

Re: How to visualize load in paravis?

nirmaljoshi wrote:

The book mentions procedure for GMESH

NO and NO it mention how to produce a .med file
after that how to process this med file depends on the viewer Gmsh or Paravis


consider reading my book
freely available here https://framabook.org/beginning-with-code_aster/

Offline

#9 2019-02-27 07:01:27

nirmaljoshi
Member
From: Japan
Registered: 2018-10-12
Posts: 152

Re: How to visualize load in paravis?

@jeanpierreaubry
Yes, I meant the same i.e. the book mentions on how to process in Gmsh only.

Referring to your book, I can process file in CodeAster. But in paravis, I could not do properly. I (1) generated vectors (2) filter>common>wrap by vectors. The result is not good. (see attachment)

Moreover, I could not print applied force (FORCE_NODA perhaps?), only the reaction force gets printed.

@dbpatankar
Had you succeeded on doing it ? Any sample file?

Last edited by nirmaljoshi (2019-02-27 07:02:26)


Attachments:
image.png, Size: 7 KiB, Downloads: 90

Offline

#10 2019-02-27 07:50:55

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

Re: How to visualize load in paravis?

i do not understand what your attached image means (no title, no explanation!)
i expect it can be done in Paravis
probably in the usually utterly complicated way
and it can be done in gmsh
and in a straightforward way
and that is enough for me

by the way it is a vector nodal field


consider reading my book
freely available here https://framabook.org/beginning-with-code_aster/

Offline

#11 2019-02-27 08:06:16

mecour
Member
From: Ostrava (Czech)
Registered: 2011-04-04
Posts: 142

Re: How to visualize load in paravis?

the warp_by_vector filter is for visualization of deformed structure not for visualization of "vectors".

Offline

#12 2019-02-27 08:51:16

nirmaljoshi
Member
From: Japan
Registered: 2018-10-12
Posts: 152

Re: How to visualize load in paravis?

Thanks for the reply.

@mecour
Completely agree with you, it happened because I could not find any other method except the familiar word "vector". Anyway, do you know how to display the "vector nodal field" in paravis as mentioned by jeanpierreaubry?


@jeanpierreaubry
In the last attached figure, the left one is the input structure and the right is the post-processed view in paravis. I thought you could easily recognize it. 
Anyway, since the use of code_aster with salome_meca is more user-friendly (at least for me!), I will probably stick with this combo package for a while until I get more "cleverer". And since this package's default post-viewer is paravis, i am trying to explore it, even-though I know it is another huge mountain to climb!

Offline