-
I wanted to discuss about these two options to apply Neumann Boundary Conditions on surface areas. This is my understanding for a steady state heat conduction problem:
Am I thinking it right? By trial, I see that this works if I need to apply the HFLUX as a vector :
Although I am not sure if q_2 and q)3 are even being taken as inputs my PyMAPDL? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @VHB4910 SF defines only one magnitude of heat flux. The direction is found by the set of nodes ("nlist"). A positive value of heat flux is into the material, and a negative value is out of the material. Here is a small model of a 2x2 square meshed with 4 quad elements. The gplot is showing the lines of the square with the mesh divisions and the nodes with the node numbers turned on: Now if we issue the commands: mapdl.nsel('s', 'node', '', 2)
mapdl.nsel('a', 'node', '', 4, 7)
mapdl.cm('node_1', 'node')
mapdl.allsel()
mapdl.sf('node_1', 'hflux', 10) And issue the commands to turn on surface load symbols as arrows we get the image above. As you can see the two element edges on the 'top' have heat flux in the -Y direction but the two edges on the right side have heat flux in the -X direction. Now we can add a gradient to the heat flux. Say we wanted a gradient in the global X direction of 10 per unit length. And isssue the commands: mapdl.nsel('s', 'node', '', 2)
mapdl.nsel('a', 'node', '', 4, 7)
mapdl.cm('node_1', 'node')
mapdl.allsel()
mapdl.sfgrad('hflux', 0, 'x', 0, 10)
mapdl.sf('node_1', 'hflux', 10) We would get the following applied heat flux: We can see that nodes 4, 6, 7 are along X so their heat flux is a gradient. But nodes 2, 4, 5 have a constant X so those two edges have a constant heat flux. Since we issue both SF and SFGRAD commands they each contribute to the total value of heat flux. If you want no 'offset' from the SF command then the SF command needs to be applied with a value of 0 for heat flux. Mike |
Beta Was this translation helpful? Give feedback.
Hi @VHB4910
SF and SFGRAD work together. Let's set aside SFGRAD for now.
SF defines only one magnitude of heat flux. The direction is found by the set of nodes ("nlist"). A positive value of heat flux is into the material, and a negative value is out of the material. Here is a small model of a 2x2 square meshed with 4 quad elements. The gplot is showing the lines of the square with the mesh divisions and the nodes with the node numbers turned on:
Now if we issue the commands:
And issue the commands to turn on surface load symbols as arrows we get the …