febiosoftware / FEBioStudio

https://febio.org/
MIT License
65 stars 24 forks source link

Cylindrical Fiber Definition Rotation at Thinner Region of Part #78

Closed cnb2376 closed 1 year ago

cnb2376 commented 1 year ago

I'm defining a cylindrical coordinate system for a spinal disc annulus material model so that I can have fibers crossing one another at a set orientation.

I'm seeing expected direction for the fibers throughout the object, with {0,1,0} wrapping around the annulus, except near the thinner region of the annulus, where the fibers start to rotate vertically.

I've attached images, I created an object to mark where I've labeled the center, and the axis has a value of {-.12,0,-.99}, since the annulus is slightly rotated in the x-direction.

I'm unsure if this behavior is occurring due to improperly defined center / axis, or if it's likely to stem from the part mesh.

Open to sharing the .fs2 file for troubleshooting, file type was not supported for upload in this post.

Annulus_Top_View Annulus Side View

SteveMaas1978 commented 1 year ago

Thanks for bringing this to our attention. There was indeed an issue with the cylindrical fiber generator, but I think I have this fixed now. Please do a dev update tomorrow after the nightly builds and then give it another try. Let me know what you find.

cnb2376 commented 1 year ago

The update helped tremendously, the problem with the fibers rotating at the thinner region is no longer present, and the cylindrical fibers wrap around the center / axis as expected.

​​​​​​​Thank you very much!