hi welcome to ansys tutorial a pdl command for solid 65 concrete model using ansys workbench 2019 there is more than one way to model concrete in ansys this tutorial will only focus on solid 65 concrete model although solid 65 is the old legacy element it's still a good choice for a structural engineering problem until the newer concrete model become fully explored ansys workbench does not directly support the solid 65 element a pdl command is required in order to access the solid 65 element let's begin the tutorial from workbench new project choose a unit and select metric millimeter from toolbox chooses static structural and drag to project schematic then select engineering data in order to create a concrete material property only isotropic elasticity is required for now any other material parameters will be provided via apdl command later on enter 23 205 megapascals for young's modulus and 0. 2 for poisson ratio now we can close the engineering data tab right click at the geometry and choose edit geometry in space claim and wait for space claim to load now we will create the sketch plane in the x and y plane by specifying z-axis as the normal vector choose z-axis by clicking at the blue arrow from design menu at the create ribbon choose plane choose the 3d mode and then choose sketch mode this will enable the user to draw a sketch in the xy plane now choose rectangle then click at any point in the sketch plane enter 100 and then press tab to enter another 100 we will now have the rectangular with dimension of 100 by 100 millimeters we will now extrude the rectangular into the cube from design menu choose pull select the square and pull along z-axis for 100 millimeters by entering 100 from detail menu choose dimension and click the sides of the cube in order to display the cube dimension the cube is now completed we can now close space claim from project schematic right-click at the model and choose edit to load mechanical module from geometry choose cis solid cube body and set material assignment to linear concrete from mesh menu set element order to linear and set element size to 100 millimeters so that there will be only one element after meshing now apply the boundary condition so that the solid body will be constrained against x y and z axis apply displacement control in order to create stress in the solid body input minus 0. 19 millimeter in z axis create the result for strain displacement and stress along z axis with the current model which based on linear material it is expected that the stress in the concrete shall be 44.
1 megapascals from solution menu choose to solve to perform linear structural analysis the linear structural analysis is completed we can now close the mechanical module from the toolbox choose mechanical apdl and drag it to the project schematic right-click at the analysis and choose open mechanical apdl expand the general post processor menu choose data and file option and find the folder location name sys mech and open the file as shown here the file name file. rst contains the finite element model and structural analysis results for concrete cube we have just completed from ansys workbench choose the results summary in this case we only have one set of results data to open the data expand the read results menu and choose the last set now the structural analysis results already loaded into mechanical apdl to display the model expand the preprocessor menu this will enable ansys mechanical apdl ready for input data choose the plot menu and then multi-plots click the pan zoom rotate icon then choose the isometric view now we will learn the first apdl command the comments type exclamation mark in the command prompt mechanical apdl will recognize that anything follows the exclamation mark is comments type the comments then press enter to register the command we will learn the next apdl command from the graphic user interface expand the element type menu and choose add edit delete there is already one element type solid 185 which is automatically generated by ansys workbench now add the element type solid 65. the reference number could be any number that high enough to not redundant with the reference number that previously automatically generated by workbench in this case the reference number equal to 1 is already occupied let's input the reference number of 9991 in mechanical apdl any time we finish the input with a graphic user interface the apdl command will be saved in the log file from the list menu choose files then log file scroll down to the most bottom of log file will contain the latest apdl command this command is what we will replicate for further use in ansys workbench so copy the apdl command to the blank text file this is how we learn the apdl command from graphic user interface any other apdl command from now will be learned the same way the next step is to create a material property expand the material properties menu and choose material models we can now see that material number one is already occupied create the new material model with the reference number of 9991 add the linear elastic material model with young's modulus of 23205 megapascals and poisson ratio of 0.
2 open the log file and copy the latest apdl command to the text file from the list menu choose elements then choose nodes and attributes we can see that the element type has been assigned to reference number one and the material model are also assigned to reference number one therefore we will change the assignment to refer to our newly created reference number input the comment in the command prompt to serve as the starter expand modeling menu expand move and modify then expand elements choose modify attributes pick the solid cube press ok then select element type and input reference number of 9991 and then do the same for the material model check the log file for the latest apdl command the only apdl command that we will copy is emo diff command the rest are only used for the sake of graphic user interface during user picking and of no use in ansys workbench let's check the current element attributes we can see that the element type has been assigned to reference number 9991 and the material model is also assigned to reference number 9991 we learn enough apdl command for now let's close mechanical apdl and go back to ansys workbench open the mechanical module right click at static structural and choose insert then choose commands the apdl command text editor will appear we will input the apdl command here always begin the command with prep 7 and end with solution here copy and paste the apdl command acquired from mechanical apdl in order to verify if the apdl command is working try to increase young's modulus by 10 times by doing so it is expected that the stress results should also 10 times higher which is increased from 44. 1 megapascals to 441 megapascals the stress results still show 44. 1 megapascals which is not as expected which means the apdl command is not working yet the cause of the problem is because the p51x parameter is only working on mechanical apdl now replace p51x with all and run the analysis again the stress results are now 441 megapascals which is as expected which means the apdl command is working so let's change the young's modulus back to normal at this point the apdl command for linear elastic model is completed next we will learn how to set up the nonlinear stress strain and concrete model let's go back to mechanical apdl select the multilinear inelastic model and input the stress strain curve for concrete the stress strain curve can be previewed by pressing the graph button open the log file and copy the latest apdl command select the concrete model and input concrete parameters after that open the log file and copy the latest apdl command we can now close mechanical apdl and go back to ansys mechanical module add the apdl command for the nonlinear concrete models since the material model is now nonlinear under the same compressive strain the expected stress results will become 25.
44 megapascals now let's solve the model and check the results the compressive stress result is 25.