# Discussion Forum

## divide boundary into smaller boundar

Please login with a confirmed email address before reporting spam

Dear everyone,

How may I divide a 3d cylinder, into 360 equal parts of boundary ( one boudary for each degree) on the outer boundary of the cylinder?

thank you

7 Replies Last Post Sep 26, 2019, 2:31 PM EDT

Please login with a confirmed email address before reporting spam

Posted: 5 months ago

There are ways to do it, but can you explain why you think you need to do that? It's quite possible that there's aa easier way to achieve your ultimate goal.

Best,

Jeff

-------------------
Jeff Hiller

Please login with a confirmed email address before reporting spam

Posted: 5 months ago

There are ways to do it, but can you explain why you think you need to do that? It's quite possible that there's aa easier way to achieve your ultimate goal.

Best,

Jeff

i'm trying to assign different heat flux values for each degree on the cylinder. Ray tracing heating method is taking too much of my computer resource.

Please login with a confirmed email address before reporting spam

Posted: 5 months ago

In real life, does the heat flux jump to a different value every degree, or does it vary smoothly over the cylinder?

Jeff

-------------------
Jeff Hiller

Please login with a confirmed email address before reporting spam

Posted: 5 months ago

hi Jeff thanks for taking your time to answer

as you can see in the picture, i'm trying to simulate a parabolic trough and because of the way it is designed, most of the concentrated rays are at the bottom of the receiver.

The variation of the concentration of the heat flux can be shown in the second figure below.

Please login with a confirmed email address before reporting spam

Posted: 5 months ago

OK, so that's what I suspected all along :)

In this case, rather than artificially subdividing the geometry into 360 pieces, you're much better off defining an Interpolation function using your data (which I presume you have in a file of some kind) and then calling it to apply it on the surface as a function of the angle. See the attached toy file. I defined a cylindrical coordinate system sys2, which I use when calling the interpolation function. I typed in the values that my interpolation function takes, but you can call the data from a file also.

I hope this helps.

-------------------
Jeff Hiller

Please login with a confirmed email address before reporting spam

Posted: 5 months ago

thanks Jeff! I'll give this a try

Please login with a confirmed email address before reporting spam

Posted: 5 months ago

OK, so that's what I suspected all along :)

In this case, rather than artificially subdividing the geometry into 360 pieces, you're much better off defining an Interpolation function using your data (which I presume you have in a file of some kind) and then calling it to apply it on the surface as a function of the angle. See the attached toy file. I defined a cylindrical coordinate system sys2, which I use when calling the interpolation function. I typed in the values that my interpolation function takes, but you can call the data from a file also.

I hope this helps.

Hi Jeff, your method works perfectly. thank you for the massive help!