Forum Replies Created
-
AuthorPosts
-
22 November 2018 at 02:04 in reply to: Deforming object when more than a certain force is applied #12509SuwanBlocked
Dear @Hugo,
Yes, I am interested in it.
Actually I hope to get code snippet using SOFA API, which enables to simulate a simple fracture model, if possible.
So I am going to implement a plugin for my purpose.Thank you.
Best regards,
Suwan3 November 2018 at 03:17 in reply to: [SOLVED] How to give offset distance of collision in geomagic haptic simulation #12329SuwanBlockedDear @hugo
I solved the case.
I translated a collision model and a visual model, and didn’t the MechanicalObject of Geomagic.
It worked even though the simulation didn’t look good.
Please let me know if you have any comments.
Thank you so much.Best regards,
Suwan2 November 2018 at 20:14 in reply to: [SOLVED] How to give offset distance of collision in geomagic haptic simulation #12327SuwanBlockedDear @hugo
I have tried your code snippet, but failed.
Could you suggest how I have to add a new MechanicalObject translated for solving it?
Sorry I am still a beginner in SOFA.Best regards,
Suwan30 October 2018 at 02:26 in reply to: [SOLVED] How to give offset distance of collision in geomagic haptic simulation #12298SuwanBlockedDear @Hugo
As I know, collision point of geomagic haptic in SOFA is regarded as showen figure,
.However, I want to simulate as showen figure,
.Please let me know if not satisfied with my explanation.
Best regards,
Suwan21 September 2018 at 02:49 in reply to: [SOLVED] Could you explain the difference between Geomaigc and sensible plugin? #11976SuwanBlockedHello @Hugo,
Thank you so much.
Your comments help to know and use SOFA framework.Best regards,
Suwan12 September 2018 at 09:19 in reply to: [SOLVED] How to give multi-physical properties to one tetrahedron object #11931SuwanBlockedHi @hugo,
I solved this case by using IndexValueMapper component.
I implemented a scene consisted of multi-physical properties of objects.
Code snippt of the scene is as follows :<MeshGmshLoader name=”Loader” filename=”msh file location” scale=”0.2″/>
<MechanicalObject src=”@Loader” name=”mecaObj” restScale=”1″ />
<Node name=”MeshROI” >
<MeshObjLoader name=”ROIloader” filename=”obj file location” scale=”0.2″ translation=”0 0 0″ rotation=”0 0 0″/>
<MeshROI name=”ROIm”
drawROI=”0″
drawMesh=”0″
drawBox=”0″
drawEdges=”0″
drawTriangles=”1″
drawTetrahedra=”1″
drawOut=”0″
computeMeshROI=”1″
doUpdate=”0″
position=”@../mecaObj.position”
tetrahedra=”@../Loader.tetrahedra”
ROIposition=”@ROIloader.position”
localIndices=”1″
ROItriangles=”@ROIloader.triangles” />
<VisualModel name=”Visual” color=”blue” dx=”60″ />
</Node><IndexValueMapper name=”ind_Out” indices=”@MeshROI/ROIm.tetrahedronOutIndices” value=”the 1st youngModulus” />
<IndexValueMapper name=”ind_Total” inputValues=”@ind_Out.outputValues” indices=”@MeshROI/ROIm.tetrahedronIndices” value=”the 2nd youngModulus” />
…
<TetrahedronFEMForceField name=”FEM” youngModulus=”@../ind_Total.outputValues” poissonRatio=”0.49″ />Your advice was so helpful.
Thanks.Best regards,
Suwan8 September 2018 at 02:10 in reply to: [SOLVED] How to give multi-physical properties to one tetrahedron object #11913SuwanBlockedThank @Hugo,
My questions are as allowing:
1. How to set localStiffnessFactor in the TetrahedronFEMForcefield
I haven’t found any SOFA scene example of localStiffnessFactor.
Is it just list of factor values?
Can I input it by reading a file?
Could you give me an example scene?2. Could you explain meaning of i*M/N more?
I understood the youngModulus index for element i, i*M/N, was ratio location of M values.
For example, there are a tetrahedral model of 30 elements and 3 numbers of local stiffness factors.
0-9 element ==> 0th index of local stiffness factors
10-19 element ==> 1st index of local stiffness factors
20-29 element ==> 2nd index of local stiffness factors
Is it right?I’m sorry to bother you for being just a beginner.
I need more time to know SOFA framework and usages.Best regards,
Suwan7 September 2018 at 02:57 in reply to: [SOLVED] How to give multi-physical properties to one tetrahedron object #11904SuwanBlockedHi @Binesh
Thank you so much.
Sorry that I am a biginner in SOFA.
Could you explain how I can set local stiffness factor for each element?
I’d appreciate it if you’d show me an example like code snippt which uses TetrahedronFEMForcefield and sets local factor for each element.Best regards,
Suwan2 August 2018 at 09:15 in reply to: [SOLVED] Building CUDA plugin of SOFA v18.06 using VS2017 and cuda_9.2.148_win10 #11628SuwanBlockedHi @hugo,
I have successfully built SOFACUDA with CUDPP.
I built cudpp version 2.3 and used it for building SOFA CUDA.
And I modified some SOFA CUDA code because of changes between old and new version of cudpp functions.Thank you.
Best regards,
Suwan2 August 2018 at 04:54 in reply to: [SOLVED] Building CUDA plugin of SOFA v18.06 using VS2017 and cuda_9.2.148_win10 #11627SuwanBlockedHi @Hugo,
Thank you for your kind reply.
I tried to build two options which are CUBLAS and CUDPP.
Building CUBLAS was successful.
However, doing CUDPP failed.
It need cudpp libaray and header.
So I have built cudpp version 2.3 and added to SOFA.
Then CudaScan.cu made an error because of missing of cudpp_plan_manager.h.
I found it in cudpp version 1.1.1, but that version was so old.
I want to know what version of cudpp is used for SOFA.
Could you give me any tip about this case?Best regards,
Suwan1 August 2018 at 12:49 in reply to: [SOLVED] Building CUDA plugin of SOFA v18.06 using VS2017 and cuda_9.2.148_win10 #11617SuwanBlockedI solved this case.
The reasons are as follows :
1. It happened that flags of SOFACUDA_CUBLAS and SOFACUDA_CUDPP was set.
2. The latest version of VS 2017 couldn’t build the cuda source of SOFA because of the limit of vs 2017 version defined in cuda header files.So I have built SOFA source code by solving above two problems.
Could you let me know whether SOFA needs the functions of CUBLAS and CUDPP?
If it needs them, what modules use them? -
AuthorPosts