-
-
August 29, 2018 at 7:00 am
Abhinaba
SubscriberI would like to carry out simulation of single strand of alginate material with element wise randomly distributed human cells in Ansys workbench. Since alginate is a hypoelastic material therefore addition of human cell material alters the nature of the strand. I have already carried out the experimental tests and would like to verify the results with that of finite element simulation. After meshing the approximate number of elements are 24 lakhs. Out of that almost 6 lakh elements would be of human cell material and rest elements would be of alginate.
I would like to request the experts here to guide me on how can I model the element wise random distribution of human cells in Ansys workbench? Since in reality the human cells are randomly distributed therefore I need to process the same in simulation work.
Thank you
-
August 29, 2018 at 1:53 pm
jpasquerell
Ansys EmployeeIf you want to alter the elements randomly in a single body in a named selection of mybod use a command object like this under static structural:
fini
/prep7
cmsel,s,mybod
*get,emn,elem,,num,min
*get,emx,elem,,num,max
ect=arg1 ! set arg1 to be the number of elements to be modified
*dim,etomod,,ect
*vfill,etomod(1),rand,emn,emx
esel,s,,,etomod(1)
*do,jj,2,ect
esel,a,,,etomod(jj)
*enddo
*get,mpmax,mat,,num,max
mpmax=mpmax+1
mp,ex,mpmax,2e6 ! put in new material definition via MP and TB commands
emod,all,mat ! changes the mat attribute for all selected elements
allsel
fini
/solu
If multiple bodies are involved then the above will not work as it depends on there being a continuous set of element id numbers.
-
August 29, 2018 at 3:13 pm
Abhinaba
SubscriberIn my simulation problem there is a single body but while defining material to the body I require to give 1/3rd of the total number of mesh elements a particular material and the rest 2/3rd mesh elements some different material. Moreover, while defining materials they need to be done randomly so that there is some random distribution of two type of material.
Please, help me out!
-
- You must be logged in to reply to this topic.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Saving & sharing of Working project files in .wbpz format
- An Unknown error occurred during solution. Check the Solver Output…..
- Understanding Force Convergence Solution Output
- Solver Pivot Warning in Beam Element Model
- Colors and Mesh Display
- How to calculate the residual stress on a coating by Vickers indentation?
- whether have the difference between using contact and target bodies
- What is the difference between bonded contact region and fixed joint
- The solver engine was unable to converge on a solution for the nonlinear problem as constrained.
- User manual
-
2610
-
2088
-
1321
-
1108
-
459
© 2023 Copyright ANSYS, Inc. All rights reserved.