Hi,how to convert the texgen files to openfoam.
I want to get the element set and orientation of the woven.
I tried to use paraview to save vtu to vtk, and then use openfoam's preprocessor vtkUnstructuredToFoam to convert the file, but I failed, the error message is as follows.
Thanks!!!
https://imgur.com/C50ayoA
texgen to openfoam
Moderators: Martin, Developers
Re: texgen to openfoam
Hi,
We had a researcher at Nottingham a couple of years ago who used a TexGen model in Openfoam by converting an Abaqus input file to the correct format. I have his code but would need to get in touch with him to see if it's ok to share it. I'm afraid that implementing this in TexGen is on my very long to-do list!
I'll get back in touch if I find out more and/or can put you in touch with him.
Best wishes,
Louise
We had a researcher at Nottingham a couple of years ago who used a TexGen model in Openfoam by converting an Abaqus input file to the correct format. I have his code but would need to get in touch with him to see if it's ok to share it. I'm afraid that implementing this in TexGen is on my very long to-do list!
I'll get back in touch if I find out more and/or can put you in touch with him.
Best wishes,
Louise
-
benson1130
- Posts: 3
- Joined: Thu Jun 09, 2022 9:43 am
Re: texgen to openfoam
Hello
Thank you for all your assistance.
By the way,I haven't been able to bring the ori file into the polymesh of openfoam. Can this code make the ori work normally?
Thanks again for your help, it really helped me a lot.
Thank you for all your assistance.
By the way,I haven't been able to bring the ori file into the polymesh of openfoam. Can this code make the ori work normally?
Thanks again for your help, it really helped me a lot.
-
benson1130
- Posts: 3
- Joined: Thu Jun 09, 2022 9:43 am
Re: texgen to openfoam
Hello Louise,louisepb wrote:Hi,
We had a researcher at Nottingham a couple of years ago who used a TexGen model in Openfoam by converting an Abaqus input file to the correct format. I have his code but would need to get in touch with him to see if it's ok to share it. I'm afraid that implementing this in TexGen is on my very long to-do list!
I'll get back in touch if I find out more and/or can put you in touch with him.
Best wishes,
Louise
Excuse me, any news on the code to convert TexGen format to OpenFoam format?
I've been looking for an answer to this question recently, it would be great if your colleagues could provide the code and how to use it!
Thank you very much for your assistance.
Sincerely,
Benson
Re: texgen to openfoam
Hi Benson,
Sorry for the slow reply, I've just been on holiday for two weeks. Hopefully my colleague will get in touch with you. His user name on the forum is aerodeb.
Best wishes,
Louise
Sorry for the slow reply, I've just been on holiday for two weeks. Hopefully my colleague will get in touch with you. His user name on the forum is aerodeb.
Best wishes,
Louise
Re: texgen to openfoam
Hi Benson,
I have converted the texgen Abaqus input file to the OpenFOAM using the *.inp, *.ori files. I have converted the voxel mesh from texgen into blockMesh in Openfoam using a similar approach https://www.openfoam.com/documentation/ ... sh-utility.
To create the blockMesh from *.inp file, the first list of entries *Node up to *Element, Type=C3D8R will provide the details of vertices and then the element connectivity for matrix and yarn successively followed by *ElSet, ElSet=Matrix, *ElSet, ElSet=Yarn. I have used C3D8R to create an Abaqus voxel mesh.
Therefore you will be able to identify each voxel or hex mesh with an ID. Then use the orientation file *.ori to create individual anisotropic fibre orientation and fiber volume fractions from the *.eld file. I have created a separate porosityProperties file for the constant folder in OpenFOAM with details of fibre orientation.
I have written the entire code in MATLAB. However, this can be done in any platform, python, C ...
I guess this might help; if not, please text me.
Best Regards,
Debabrata
I have converted the texgen Abaqus input file to the OpenFOAM using the *.inp, *.ori files. I have converted the voxel mesh from texgen into blockMesh in Openfoam using a similar approach https://www.openfoam.com/documentation/ ... sh-utility.
To create the blockMesh from *.inp file, the first list of entries *Node up to *Element, Type=C3D8R will provide the details of vertices and then the element connectivity for matrix and yarn successively followed by *ElSet, ElSet=Matrix, *ElSet, ElSet=Yarn. I have used C3D8R to create an Abaqus voxel mesh.
Therefore you will be able to identify each voxel or hex mesh with an ID. Then use the orientation file *.ori to create individual anisotropic fibre orientation and fiber volume fractions from the *.eld file. I have created a separate porosityProperties file for the constant folder in OpenFOAM with details of fibre orientation.
I have written the entire code in MATLAB. However, this can be done in any platform, python, C ...
I guess this might help; if not, please text me.
Best Regards,
Debabrata