-
-
July 15, 2025 at 10:02 am
jeremysawzy03
Subscriber
Hello,
ive been trying to model a an aluminium plates attached to piezoelectric shunted circuit (https://doi.org/10.1016/j.ymssp.2018.04.041) using coupled field harmonic-mechanical in ansys. I model piezoelectric patches to be solid226 elements with electrical DOF using command APDL sniphets( ET, matid, solid226, 1001). In addition ive also added fixed support on all sides of the aluminium plate, grounded the inner sides of the piezoelectric patches, added pressure of 1 Pa to one side of the plate.Â
In order to model the shunted circuit, ive additionally added a command APDL, basically coupling top surface and bot surface of the piezoelectric patches' electrical DOF to a terminal node; adding resistor in the circuit element and finally connecting circuit across top and bottom terminal node, APDL:/PREP7 Â Â Â Â Â ! Enter preprocessor
!Creating top/bot surfaces
ALLSEL, ALL Â Â Â Â Â Â ! clear selection filters
NSEL, S, LOC, Z, 0.00125 Â !Select top surface
CM, TOP_SURF_NODES, NODE Â Â ! Create component of top surface nodesALLSEL, ALL Â Â Â Â Â Â ! clear selection filters
NSEL, S, LOC, Z, -0.00125 Â Â Â ! Select bot surface
CM, BOT_SURF_NODES, NODE Â Â ! Create component of bottom surface nodes!Creating 2 new nodes for external terminal
N, 70000, 0.25, 0.25, 0.00125 ! top terminal node
N, 70001, 0.25, 0.25, -0.00125 ! bot terminal nodeETLIST
!Coupling the entire surface to nodes
ALLSEL, ALL Â Â Â Â Â Â ! clear selection filters
SELTOL, 1e-8 Â Â Â Â Â !selecting tolerance!Coupling top surface
CMSEL, S, TOP_SURF_NODES
!NSEL, S, NODE Â Â Â Â Â ! Select top surface nodes
NSEL, A, NODE,, 70000, 70000 Â ! Add terminal node last
CP, 100, VOLT, ALL
!Coupling bot surface
CMSEL, S, BOT_SURF_NODES
!NSEL, S, NODE
NSEL, A, NODE,, 70001, 70001
CP, 101, VOLT, ALL!CP, 101, VOLT, 16001, ALL Â !All bot nodes share VOLT with 16001
ALLSEL, ALLALLSEL, ALL Â Â Â Â Â Â ! clear selection filters
! Connect circuit element
ET, 100, CIRCU94
R, 2, 1000 Â Â Â !1kOhm
TYPE, 100
REAL, 2
E, 70000, 70001 Â Â Â Â ! Connect circuit across top and bottom
! No /STATUS or /SOLU here - Workbench handles that
FINISH
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Im getting a warning like these:Â
 *GET  ANSINTER_  FROM  ACTI  ITEM=INT     VALUE=  0.00000000  Â
 *IF  ANSINTER_  ( =  0.00000   )  NE Â
   0  ( =  0.00000   )  THEN  Â *ENDIF
 *** WARNING ***             CP =    0.766  TIME= 10:49:58
 SOLVE is not a recognized BEGIN command, abbreviation, or macro.  This Â
 command will be ignored.                        Â
 *************** Write FE CONNECTORS ********* *** WARNING ***             CP =    0.766  TIME= 10:49:58
 CEWRITE is not a recognized BEGIN command, abbreviation, or macro.   Â
 This command will be ignored.                      Â PRINTOUT RESUMED BY /GOP
 *GET  _WALLASOL  FROM  ACTI  ITEM=TIME WALL  VALUE=  10.8327778  Â
---------------------------------------------------------------------------------------------------------------------------------------------------
i dont know why solve is ignored in this case, should i have approached this problem the other way? -
July 15, 2025 at 4:00 pm
mrife
Ansys EmployeeHi jeremysawzy03
I take it the commands object listing is the CO that is attached to the coupled field harmonic environment (and not either of the two on the geometries). The commands are inserted to the input file AFTER the /solu command that Mechanical writes. So you need to reenter /solu at the end of the commands object. I.E. here:
! No /STATUS or /SOLU here - Workbench handles that
FINISHInstead use:
FINISH
/solu
mike
-
- You must be logged in to reply to this topic.
-
3492
-
1057
-
1051
-
965
-
942
© 2025 Copyright ANSYS, Inc. All rights reserved.