ElectroMechanical Transducer Permittivity in ANSYS Mechanical

EM Transducer is a boundary condition commonly used in the simulations of MEMS devices.  Workbench users can download the Piezo & MEMS ACT module from the ANSYS Customer portal to gain access to EM transduce capabilities.  EM Transducer automatically generates TRANS126 elements in Workbench based on the EMTGEN APDL command.

The EM Transducer object uses permittivity of Air as a default and does not allow users to define their own permittivity.  If a user wants to define a custom permittivity, they can create an APDL command object that updates the 7th real constant of the generated TRANS126 elements.  See the sample code below:

 

 

!!! EXAMPLE APDL CODE  !!!
epsr=ARG1                                          ! USED TO DEFINE THE RELATIVE PERMITTIVITY
                                                               ! IN THE DETAILS OF THE COMMAND FILE
fini                                                         ! LEAVE THE SOLUTION PROCESSOR
/prep7
esel,s,ename,,126
*get,nelems,elem,,count                   ! nelems = NUMBER OF THESE ELEMENTS
elm=0                                                   ! INITIALIZE ELEMENT NUMBER
*do,i,1,nelems elm=elnext(elm)      ! elm = NEXT HIGHEST ELEMENT NUMBER
*get,rnum,elem,elm,attr,real           ! rnum = REAL CONSTANT ID # ASSIGNED TO ELEMENT elm
*get,r7,rcon,rnum,const,7                 ! r7 = VALUE OF 7th REAL CONSTANT IN REAL CONSTANT SET #rnum
r7_new=epsr*r7                                  ! MODIFIED VALUE TO SUBSTITUTE FOR ORIGINAL VALUE
rmod,rnum,7,r7_new                         ! MODIFY THE 7th REAL OF REAL CONSTANT SET ID #rnum
*enddo

 

fini                                                          ! LEAVE PREP7
/solu                                                       ! REENTER THE SOLUTION PROCESSOR
alls

Subscribe to Newsletter

  • This field is for validation purposes and should be left unchanged.

 


Ozen Engineering Newsletter – May 2016

Message from your Channel Partner 

metin

By the time you read this message, R17.1 will be available for you to download from the customer portal. One of the most important new features in R17.1 is that Reaction Design Products (specifically Chemkin) are now included in the product installation. For ANSYS CFD users, this is an important product especially for inclusion of chemical reactions. In addition, SpaceClaim Direct Modeler is now available as a stand-alone package. If you have not used SpaceClaim for geometry creation yet, you may want to start allocating time to learn this amazing solid modeling tool, which will be the main solid modeling tool of ANSYS in the near future. Also, you may want to visit ANSYS YouTube page to take a look at an extensive library of How-To videos: https://www.youtube.com/user/ANSYSHowToVideos

May is a busy month; since many engineers/users will be taking vacation time off in June, we are trying to squeeze in training classes and Lunch & Learns (L&L) in May. Please sign up for Introduction to ANSYS Mechanical as well as ANSYS/Maxwell. Also, please sign up for our free Lunch&Learn sessions covering new “Nonlinear Structural Features” and “Multiphysics AIM”.

Please let me know how/if I can be of help with ANSYS software tools. Have a great May!

By Metin Ozen

 Message from the Sales Manager

ANSYS 17.1 is around the corner!

caseyThe latest ANSYS release – ANSYS 17.1 will soon be available for download to all our customers. ANSYS 17.1 will bring new capabilities and simulation technologies making scientists and engineers more productive than ever before. We will contact you soon to schedule visits and introduce you to the new features.

Watch this video for ANSYS Solutions for IoT

I recently posted an article from Computerworld that surveyed 182 top IT professionals and executives to determine the tech trends in 2016. Out of the top 5 categories IoT came up at the very top (see chart below).

I invite you to watch this video to see how ANSYS can help you with your IoT innovations:

cw_techforecast2016_04_investing_in_future_tech-100629396-orig

 

To learn how ANSYS and Ozen Engineering can help you with your product development efforts, please contact me at:

casey.heydari@ozeninc.com
(408) 732-4665

By Casey Heydari

What’s New at Ozen Engineering? 

 Signal Integrity and Power Integrity Analysis Services 

Ozen Engineering is pleased to introduce Board and Package Level Signal Integrity Analysis Services. These services add and complement our list of thermal and stress analysis services for boards and packages.

As the speeds of interfaces become faster, Signal Integrity for board traces and package traces is no longer an after-thought, but has become a “before thought”.  Chip-Package-Board co design has not only to be done for optimizing the package and board layout for layer count reduction, but also to analyze and optimize the performance of chip to pkg to board channel. All this is now required before signing off on chip tape-out, package manufacturing, and board manufacturing.

Ozen Engineering has established an experienced team of Signal Integrity and Electrical modeling experts who can provide SI/PI services to the customer for optimizing on chip i/o pad layout, package design, and board layout.


Tech Tip

mehrnoosh

Antennas often designed in isolated or ideal conditions. But antenna performance can be very different when mounted on realistic and complex platforms. Antenna radiation distortion, reduced antenna efficiency, antenna to antenna coupling, multipath fading are just some of the issues caused by the presence of a complex platform with multiple antennas.
 Using ANSYS HFSS and ANSYS HFSS SBR (Savant) is the solution to a reliable wireless product in realistic environment. HFSS is a FEM tool to design and optimize the antenna and HFSS SBR uses Shooting and Bouncing Ray technique to improve integrated antenna performance on electrically large problems. HFSS SBR takes antenna simulation results from HFSS and provides fast EM analysis of the installed antenna on electrically large platforms.Simulation with HFSS and HFSS SBR:
  • Design and optimize the antenna in HFSS
  • Predict installed antenna performance in HFSS SBR
The figure shows an example of antenna integration on electrically large platform. The 2.3 GHz UHF blade antenna designed and solved in HFSS and the near-field results are imported to HFSS SBR. Then, the far-filed patterns and near-field distributions are computed on the electrically large platform.

The figure shows an example of antenna integration on electrically large platform. The 2.3 GHz UHF blade antenna designed and solved in HFSS and the near-field results are imported to HFSS SBR. Then, the far-filed patterns and near-field distributions are computed on the electrically large platform.

By Mehrnoosh Khabiri


Tech Tip

Supercharge your system simulations with the ANSYS MATLAB Toolbox

kaan-80x80One of the most exciting features in the latest release is something that’s not getting much publicity: running MAPDL (or ANSYS Classic) as a headless server. Okay, I can see why people may not be too excited by that but it allows you to run Mechanical APDL with whatever user interface you want, for example – MATLAB. With the MATLAB toolbox you can to run ANSYS, the number one FEA solver in the world, like any other module in MATLAB. This opens up all kinds of possibilities for co-simulation with ANSYS and MATLAB, taking your integrative and system simulations to the next level.

This is not just a more sophisticated way to send batch files to Ansys MAPDL, you can send commands and receive output from a running Ansys FEA solver:

>> mapdl.executeCommandToString('asel,s,mat,,6')

ans =

SELECT       FOR ITEM=MAT  COMPONENT=\n  IN RANGE         6 TO          6 STEP          1\n\n

You can interrogate parameters:

>> str = mapdl.executeCommandToString('*get,max_x,node,,mxloc,x')

str =

*GET MAX_X FROM NODE ITEM=MXLO X VALUE= 500.000000

>> exp = 'VALUE= ([^\s]+)'

exp =

VALUE= ([^\s]+)

>> m = regexp(char(str),exp,'tokens')

m =

{1x1 cell}

>> str2double(char(m{:}))

ans =

500

You can execute commands using Matlab control logic:

 >> loads

loads = 

1x2 struct array with fields:

 cmsel
 val

>> for elem = loads
mapdl.executeCommandToString(strcat('d,', elem.cmsel,',uy,',num2str(elem.val)))

ans =

SPECIFIED CONSTRAINT UY FOR PICKED NODES\n REAL= 300.000000 IMAG= 0.00000000

ans =

SPECIFIED CONSTRAINT UY FOR PICKED NODES\n REAL= 0.00000000 IMAG= 0.00000000

Writing data files is still handled by batch files but MATLAB easily reads and works with comma separated data files:

>> type('to_outf.inp')

*cfopen,outputs,csv
*vwrite,
("plwk_top, plwk_bot")
*vwrite,plwkData(1,1), plwkData(1,2)
(E16.8, "," E16.8)
*cfclos

>> mapdl.executeCommand('/inp,to_outf,inp')

>> tab = readtable('outputs.csv')

tab =

plwk_top plwk_bot
________ ________

0.013099 0.010709
0.025962 0.021216

And of course there are all the plotting and visualization functionality that you are used to:

bar3(table2array(tab))

MatlabFigure

You can similarly interface with Workbench and Fluent with this toolbox.

We are pleased to make this ANSYS Matlab Toolbox available early for our customers (please log in):

Download ANSYS Matlab Toolbox

If you are not a customer, we can offer this as premium content:

 


Whitepaper

Dramatic Changes in Sports

MaryamNemaziePicFor you sports lovers out there, not only can you watch a Warriors game, you can also run simulations in sports. As many of you already know, simulations are needed everywhere, especially in the world of sports. Whether to shave off a few seconds from an Olympic record time or to minimize the risk of injuries, ANSYS simulation software is advantageous in the sports arena and gives teams the competitive edge they need to destroy the competition, while maximizing safety.

With the recent release of Concussion starring Will Smith, this expose highlighted the brain damage many football players suffer from due to repeated blows to the head. How can simulations in sports alleviate such tragedies?  The following white paper, Dramatic Changes in Sports: The Contribution of Engineering Simulation, examines how ANSYS simulation technology is utilized in various sports ranging from sailing to badminton.  Simulations in sports helps better understand the activity, improve the performance of the equipment, and reduce the risk of injuries.

Why are Simulations in Sports a Necessity?

Sports professionals and coaches always explore ways to enhance performance and maximize safety. Engineering simulation “is a proven technology able to predict the behavior of a device or an athlete, or a system comprising the athlete, devices and equipment, under specific conditions. Through computer-based modeling, it is possible to determine and understand how influential parameters impact athletic performance, or minimize or amplify injury. By varying these influential conditions and predicting the consequences of these modifications, equipment designers can select the best set of conditions to optimize performance and reduce injury. In addition, sporting goods manufacturers can release these improved goods to market faster and at a lower cost.” Sounds interesting? Click here to read more!

Let’s look at an example of how a simulation would be extremely beneficial. Did you know that our very own Dr. Metin Ozen loves to sail? If he wanted to conduct a simulation before his next sailing adventure, he could use ANSYS CFX to analyze the flow around the modern upwind sails, showing the design procedure from surface definition to grid generation and visualization of the results with the streamlines. Next time you are here at Ozen Engineering for a meeting or a training, ask Dr. Ozen about his sailing adventures in Turkey and the San Francisco Bay.

thumbnail_Wind flow around modern upwind sails - Image

Wind Flow Around Modern Upwind Sails

You can also find out how ANSYS simulation solutions can help you engineer the ideal sports equipment and reduce the risk of injuries by reading this white paper. Hungry to learn more? Please visit our ANSYS training schedule for upcoming courses: http://www.ozeninc.com/ansys-training-events/. If you are interested in a technology demonstration, please contact Casey Heydari at 408-732-4665 or casey.heydari@ozeninc.com to schedule a demo today.

Download Now: Dramatic Changes in Sports – White Paper

By Maryam Nemazie


Lunch & Learn

Structures

Friday, May 20th from 11:30 a.m. to 1 p.m.
structures

Learn skills and best practices in person or online from our experts at Ozen Engineering. This Lunch & Learn will demonstrate how to simulate the behavior of components or complete systems in response to static and/or dynamic loading from forces that include but are not limited to: thermal, acoustic, piezoelectric, impact, creep, fatigue, and/or blast forces. Integration of the ANSYS Structural tools in the ANSYS Workbench environment provides a complete CAD to solution package with powerful design optimization capabilities and HPC performance enhancements for quick solution times.

Lunch is provided for in-house guests!

The Lunch & Learn will begin promptly at 12 p.m. Please feel free to stay afterwards for our workshops.


Lunch & Learn

Introduction to ANSYS AIM

Wednesday, May 25th from 11:30 a.m. to 1 p.m.
ansys-aim
 
Design Engineering and Easy Multiphysics Simulation

ANSYS AIM is an easy simulation environment designed for all engineers. It offers integrated single discipline and multiphysics solutions based on best-in-class solver technologies in a modern, new, immersive user environment that enables engineers to rapidly evaluate product design performance with confidence.  Join us for our Lunch & Learn to learn more about this fantastic tool.

Lunch is provided for in-house guests!


OzenCloud
 
Scale Up Your ANSYS Workloads

OzenCloud provides dramatic performance improvements to FEA and CFD simulations, leveraging advances HPC technologies from the world’s leading hardware vendors.

Is your compute environment too small to handle your ANSYS workloads? Are you looking for performing additional ANSYS simulations on more and faster computers on demand, in our secure cloud environment?

OzenCloud is a perfect platform for customers who are concerned about surge capacity and compute resources or have a short term project but do not wish to commit to a license purchase. In addition, OzenCloud provides dramatic performance improvements to FEA and CFD simulations, leveraging advances HPC technologies from the world’s leading hardware vendors.

If you need any easy to use, on-demand and scalable simulation environment at affordable prices, contact us today for an OzenCloud trial.


Ozen Engineering, Inc.
Newsletter
1210 E. Arques Ave #207
Sunnyvale, CA 94085
(408) 732-4665

Simulations in Sports

Simulations in SportsFor you sports lovers out there, not only can you watch a Warriors game, you can also run simulations in sports. As many of you already know, simulations are needed everywhere, especially in the world of sports. Whether to shave off a few seconds from an Olympic record time or to minimize the risk of injuries, ANSYS simulation software is advantageous in the sports arena and gives teams the competitive edge they need to destroy the competition, while maximizing safety.

With the recent release of Concussion starring Will Smith, this expose highlighted the brain damage many football players suffer from due to repeated blows to the head. How can simulations in sports alleviate such tragedies?  The following white paper, Dramatic Changes in Sports: The Contribution of Engineering Simulation, examines how ANSYS simulation technology is utilized in various sports ranging from sailing to badminton.  Simulations in sports helps better understand the activity, improve the performance of the equipment, and reduce the risk of injuries.

Why are Simulations in Sports a Necessity?

Sports professionals and coaches always explore ways to enhance performance and maximize safety. Engineering simulation “is a proven technology able to predict the behavior of a device or an athlete, or a system comprising the athlete, devices and equipment, under specific conditions. Through computer-based modeling, it is possible to determine and understand how influential parameters impact athletic performance, or minimize or amplify injury. By varying these influential conditions and predicting the consequences of these modifications, equipment designers can select the best set of conditions to optimize performance and reduce injury. In addition, sporting goods manufacturers can release these improved goods to market faster and at a lower cost.” Sounds interesting? Click here to read more!

Let’s look at an example of how a simulation would be extremely beneficial. Did you know that our very own Dr. Metin Ozen loves to sail? If he wanted to conduct a simulation before his next sailing adventure, he could use ANSYS CFX to analyze the flow around the modern upwind sails, showing the design procedure from surface definition to grid generation and visualization of the results with the streamlines. Next time you are here at Ozen Engineering for a meeting or a training, ask Dr. Ozen about his sailing adventures in Turkey and the San Francisco Bay.

thumbnail_Wind flow around modern upwind sails - Image

Wind Flow Around Modern Upwind Sails

You can also find out how ANSYS simulation solutions can help you engineer the ideal sports equipment and reduce the risk of injuries by reading this white paper. Hungry to learn more? Please visit our ANSYS training schedule for upcoming courses: http://www.ozeninc.com/ansys-training-events/. If you are interested in a technology demonstration, please contact Casey Heydari at 408-732-4665 or casey.heydari@ozeninc.com to schedule a demo today.

Download Now: Dramatic Changes in Sports – White Paper

By Maryam Nemazie


 

Tech Tip: Advanced Ansys Workbench Files (MEMS Example)

Workbench provides an incredible amount of organization and automation for all your simulation files behind the scenes. Whether you want to be more appreciative of all that Workbench does in the background or you want to customize it for advanced applications, it helps to be familiar with what is happening with your files.

The ANSYS Workbench file system for an ANSYS Mechanical project, including the temporary solution directory.

The ANSYS Workbench file system for an ANSYS Mechanical project, including the temporary solution directory.

The typical Workbench project will have, at the top level directory, a <project name>.wbpj file and a <project name>_files directory, as shown in the picture above. Inside of this directory is where all the mysterious and automatic stuff happens. For a single ANSYS Mechanical system (Static Structural, Thermal, Modal/Harmonic, etc…) your directory of interest will be in the MECH directory, at the very bottom of the diagram. This directory can easily be opened in the ANSYS Mechanical application by right clicking on Solution in the tree and selecting Open Solver Files Directory.

Get to the important MECH directory quickly and easily by right clicking on Solution and selecting the highlighted option.

Get to the important MECH directory quickly and easily by right clicking on Solution and selecting the highlighted option.

Inside the MECH directory is where all of the relevant files for the solution process are located. The mesh, loads and material properties are written to a text input file, ds.dat, and there may be several supporting files. The workflow here will be familiar to users of the old ANSYS Mechanical APDL interface (sometimes referred to as ANSYS Classic). This is where files needed for a solution process should be placed if they are not already handled by Workbench.

The actual solve does not happen here, however, it happens in the _ProjectScratch directory, located on the same top level project directory as the wbpj file. All the files in the MECH directory are moved here, the solve takes place and then the files are moved back. Workbench at this point will helpfully delete files that are unnecessary as per Analysis Settings (the MAPDL solver creates many files, see the documentation chapter File Management and Files under the MAPDL Basic Analysis Guide for a full listing). Note that any additional files that you may have manually placed in this directory are both automatically moved to the temporary solve directory and moved back. This also applies to new files created during the solution process, such as path results or images that are created by the /show command. So for a single analysis that needs non-standard support files, you can just drop your files in the MECH directory and they will available to the solver.

What if we need to deal with files that involve more than one analysis system? There are many ways in which two or more analysis systems could interact in a way that Workbench does not yet support. Examples include:

  • Updating a deformed geometry upstream (in R17 next week, this will be fully supported in Workbench)
  • Initial stresses or strains calculated in one analysis, written to an initial state file and applied to an upstream analysis through INISTATE
  • A common data file referenced by several analysis types
  • Any type of sequential coupled field analysis type

The user_files directory provides us with a common directory that we can use to store intermediate files. This allows us to avoid trying to predict the directory structure within Workbench or manually moving files each time it is solved. From the flowchart at the beginning of this post, this directory can easily be navigated to. It is also easy to find the path to the user files directory, along with other directories of interest, in APDL command snippets due to parameters automatically set in the solve process. See the beginning of the Solver Output file to find the following parameters:

_WB_PROJECTSCRATCH_DIR Absolute path to the temporary solution directory (Scr###)
_WB_SOLVERFILES_DIR Absolute path to the MECH directory
_WB_USERFILES_DIR Absolute path to the user_files directory for the project

We can construct paths using the APDL string or path manipulation commands and copy files between these directories easily. Here is an example of an APDL snippet that copies the result file to the user_files directory:

*dim,fname,STRING,128
fname(1)=strcat(_WB_USERFILES_DIR(1),'file')
/copy,file,rst,,fname(1),rst

For more information on the file operations commands available, see the File Management and Files section under the MAPDL Basic Analysis Guide. For more information on the string manipulation commands, see the very bottom of the Appendix B. GET Function Summary under the ANSYS Parametric Design Language Guide section in the documentation.

An example of the above input file is for a MEMS application. An electrostatic air gap is modeled and we are interested in measuring the capacitance as the gap deforms due to applied voltage. This could be a characterization for a Reduced Order Model (ROM), such as for the TRANS126 element. In Workbench, we can use the ACT MEMS extension set up both the deformed shape calculation and capacitance calculation in a Static Structural and Electric system, respectively. We can use the UPGEOM command to update the initial node positions of the electric analysis to the final deformed positions of the static structural analysis by referencing a result file in the user_files directory, copied there after the solve with the above command snippet. Because of our robust and automated setup, we can easily do a parametric analysis to automatically solve at several voltages:

Workbench System Layout, Deformation vs Capacitance/Voltage, solved deformation result of MEMS system.

Workbench System Layout, Deformation vs Capacitance/Voltage, solved deformation result of MEMS system.

Did you find this useful? Sign up for our newsletter below to receive tips like this and more every month:

Subscribe to Newsletter

  • This field is for validation purposes and should be left unchanged.