You are here
VMESH
Hi friend,
I have three volumes. I did modal analysis in apdl ansys on them But I have errors:
Element type 1 is unknown, which cannot be used with the vmesh command, meshing of volum 1 abborted.
my apdl code is:
et,1,solid186
mp,1,3.013
mp,2,1.65
mp,3,0.437
mp,dens,1,1.092
mp,dens,2,0.01
mp,dens,3,0.917
mp,nuxy,1,0.3
mp,nuxy,2,0.2
mp,nuxy,3,0.1
~PARAIN,'Geom','x_t','.\DESKTOP\',SOLIDS,0,0
vsel,s,,1
vatt,1,1,0
smrt,6
vmesh,all
allsel
vsel,s,,2
vatt,2,1,0
smrt,6
vmesh,all
allsel
vsel,s,3
vatt,3,1,0
smrt,6
vmesh,all
allsel
vglue,all
finish
/solu
antype,modal
modopt,lanb,5
mxpand,,,,yes
solve
finish
my model is attached( external volum is volum 1, thickness of it is 1(mm) and ansys itroductions it as volum 1).
please help me.
Regards.
Mina
Attachment | Size |
---|---|
Untitled.png | 193.01 KB |
- mina rakhshi's blog
- Log in or register to post comments
- 12819 reads
Comments
Batch file
Hello Rakhshi,
The arguments in your three mp commands are incomplete : define the corresponding lab.
What is the parain path ?
Avoid to use allsel because you are selecting all what you have defined. I recommend to use vsel,all
Regards
Batch file
Hello Rakhshi,
The arguments in your three mp commands are incomplete : define the corresponding lab.
What is the parain path ?
Avoid to use allsel because you are selecting all what you have defined. I recommend to use vsel,all
Regards
But....
Hello,
thanks for your reply, I convert allsel command to vsel,all but I have old error again. my new apdl code is:
et,1,solid186
mp,1,3.013
mp,2,1.65
mp,3,0.437
mp,dens,1,1.092
mp,dens,2,0.01
mp,dens,3,0.917
mp,nuxy,1,0.3
mp,nuxy,2,0.2
mp,nuxy,3,0.1
~PARAIN,'Geom','x_t','.\DESKTOP\',SOLIDS,0,0
vsel,s,,,1
vatt,1,1,0
smrt,6
vmesh,all
vsel,s,,,all
vsel,s,,,2
vatt,2,1,0
smrt,6
vmesh,all
vsel,s,,,all
vsel,s,,,3
vatt,3,1,0
smrt,6
vmesh,all
vsel,s,,,all
vglue,all
finish
/solu
antype,modal
modopt,lanb,5
mxpand,,,,yes
solve
finish
why in ansys element type 1 is unknown? although I introductioned solid186 as element type! why ansys cannot use vmesh command for volum 1? although ansys in list menu introductions external skin with thickness 1(mm) as volum 1! how I should mesh volum1 and what should choice as element type for external skin? please help me.
my model is built in solidworks therefore I used from parain command for import it in ansys.
which three mp is incomplete? why? every laminate of model is isotropic therefore Ex=Ey=Ez.
Regards
Mina
Element characteristics
Dear Rakhshi,
Define the element characteristics with MP,EX,1,3.013 and else. Before a new input use FINISH and /CLEAR,START.Then input only the part of the program which well runs and continue in the interactive session by checking if your model is well imported at the reached step: verify if the volumes exist with VPLOT,ALL and if the elements exist with EPLOT. Try also with VLIST and ELIST to get the corresponding informations. You have to use: TYPE,1 and MAT,1 before VMESH of volume1.... TYPE,2 and MAT,2 before VMESH of volume2 and else. But to ensure the continuity between the elements use constraints with ESIZE or LSIZE. If you use the VGLUE command you can't be sure that the volumes properties are kept only if you verify them.
Best regards
VGLUE
thanks for your guidance, I could write my new code and didn't exist old error. I defined component and then meshed my model, but I have a new problem now. three volumes were assemble in solid works But they are separate in ansys. VGLUE command don't reply for merge three volumes, How can merge my three volumes that keep volumes properties? please help me.
my new code is:
/PREP7
~PARAIN,'Geom','x_t','.\DESKTOP\',SOLIDS,0,0
ET,1,solid186
MPTEMP,,,,,,,,
MPTEMP,1,0
MPDATA,EX,1,,200e9
MPDAtA,PRXY,1,,0.3
MPTEMP,,,,,,,,
MPTEMP,1,0
MPDAtA,DENS,1,,2400
MPTEMP,,,,,,,,
MPTEMP,1,0
MPDATA,EX,2,,100e9
MPDAtA,PRXY,2,,0.3
MPTEMP,,,,,,,,
MPTEMP,1,0
MPDAtA,DENS,2,,1200
MPTEMP,,,,,,,,
MPTEMP,1,0
MPDATA,EX,3,,90e9
MPDAtA,PRXY,3,,0.3
MPTEMP,,,,,,,,
MPTEMP,1,0
MPDAtA,DENS,3,,900
cm,ROTATE,VOLU
VSEL,,,,1
CM,ROTATE1,VOLU
CMSEL,s,ROTATE
CMSEL,s,ROTATE1
vatt,1,,1,0
CMSEL,s,ROTATE
CMDELE,ROTATE
CMDELE,ROTATE1
SMRT,6
MSHAPE,1,3D
MSHKEY,0
CM,ROTATE,VOLU
VSEL,,,,1
CM,ROTATE1,VOlU
CMSEL,S,ROTATE
vmesh,ROTATE1
CMDELE,RoTATE
CmDELE,ROTATE1
CMDELE,RoTATE2
cM,ROTATE,VOLU
VSEL,,,,2
CM,ROTATE2,VOLU
CMSEL,s,ROTATE
CMSEL,s,ROTATE2
vatt,2,,1,0
CMSEL,s,ROTATE
CMDELE,ROTATE
CMDELE,ROTATE2
SMRT,6
MSHAPE,1,3D
MSHKEY,0
CM,ROTATE,VOLU
VSEL,,,,2
CM,ROTATE2,VOlU
CHKMSH,'VOLU'
CMSEL,S,ROTATE
vmesh,ROTATE2
CMDELE,RoTATE
CmDELE,ROTATE2
CMDELE,RoTATE3
cM,ROTATE,VOLU
VSEL,,,,3
CM,ROTATE3,VOLU
CMSEL,s,ROTATE
CMSEL,s,ROTATE3
vatt,3,,1,0
CMSEL,s,ROTATE
CMDELE,ROTATE
CMDELE,ROTATE3
SMRT,6
MSHAPE,1,3D
MSHKEY,0
CM,ROTATE,VOLU
VSEL,,,,3
CM,ROTATE3,VOlU
CMSEL,S,ROTATE
vmesh,ROTATE3
CMDELE,RoTATE
CmDELE,ROTATE2
CMDELE,RoTATE3
CM,ROTATE,VOlU
BTOL,0.1e-4
Vglue,ROTATE
FINISH
/SOL
ANTYPE,2
MODOPT,LANB,2
EQSLV,SPAR
MXpAND,2,,,0
LUMPM,0
PSTRES,0
MODOPT,LANB,2,0,1000,,OFF
/STATUS,SolU
SolVE
FINIsH
/PosT1
SET,LIST
what should use instead of vglue command in above code.
Regards
Mina.
VGLUE
when I use vglue command ansys has warning:
don't supporte booleans.
CMGRP
I used from CMGRP command too but three volumes didn't assemble because in mode shapes every volume moves seperately. please help me.
How I assemble three volumes?
my new code is:
/PREP7
~PARAIN,'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,,,,3
CM,ROTATE3,VOlU
CMSEL,S,ROTATE
vmesh,ROTATE3
CMDELE,RoTATE
CmDELE,ROTATE2
CMDELE,RoTATE3
vsel,,,,1
CM,ROTATE1,VOlU
allsel
vsel,,,,2
CM,ROTATE2,VOlU
allsel
vsel,,,,3
CM,ROTATE3,VOlU
allsel
CMGRP,ROTATEASM,RoTATE1,ROTATE2,RoTATE3
FINISH
/SOL
ANTYPE,2
MODOPT,LANB,2
EQSLV,SPAR
MXpAND,2,,,0
LUMPM,0
PSTRES,0
MODOPT,LANB,2,0,1000,,OFF
/STATUS,SolU
SolVE
FINIsH
/PosT1
SET,LIST
Ansys modeler
If the model is not well imported it is recommended to create your structure with Ansys modeler which is easier in most cases. You can then use boolean operations.
assembly
thanks fo your reply, But I wanted to know, Do CMGPRT command in above code is correct? Is above code correct?
Mina