CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 25 of 30
Search took 0.00 seconds.
Search: Posts Made By: nsf
Forum: OpenFOAM Meshing & Mesh Conversion June 25, 2019, 15:44
Replies: 86
Views: 25,329
Posted By nsf
Hi all! I'm really glad to see that...

Hi all!

I'm really glad to see that salomeToOpenFoam is still used and being developed!

I was on vacation when Enrico gave the merge request and then I completely forgot. Personally I've...
Forum: OpenFOAM Meshing & Mesh Conversion February 6, 2017, 17:03
Replies: 86
Views: 25,329
Posted By nsf
Hi Bill, Sorry for the late reply. One way...

Hi Bill,

Sorry for the late reply. One way to generate pyramids would be to mesh (3D) with quads on the surface and tetras in the bulk.

In your case I would try to export the mesh to UNV then...
Forum: OpenFOAM Meshing & Mesh Conversion December 25, 2016, 13:33
Replies: 86
Views: 25,329
Posted By nsf
I really can't say just from the error message....

I really can't say just from the error message. Was there any problems while creating the mesh in Salome? Have you made sure you have a valid 3D mesh in Salome. If so please post your hdf file and I...
Forum: OpenFOAM Meshing & Mesh Conversion December 25, 2016, 11:33
Replies: 86
Views: 25,329
Posted By nsf
Hi Thodoris, From the error it looks like...

Hi Thodoris,

From the error it looks like you ran blockMesh rather than checkMesh blockMesh is another mesh generator which you don't need to run after you've exported a mesh from Salome.

If...
Forum: OpenFOAM Meshing & Mesh Conversion December 15, 2016, 04:34
Replies: 86
Views: 25,329
Posted By nsf
Hi, Only faces which are in groups are kept...

Hi,

Only faces which are in groups are kept as openfoam patches. If you need baffles then you need to create a group of faces on the mesh.

I've included several sample scripts. At least one of...
Forum: OpenFOAM Meshing & Mesh Conversion December 14, 2016, 16:02
Replies: 86
Views: 25,329
Posted By nsf
Hi Bill, Sorry for not getting back to you...

Hi Bill,

Sorry for not getting back to you sooner but I have been busy with other things.
I'm glad to hear that you found the script useful.
I must confess that I don't really understand the...
Forum: OpenFOAM Meshing & Mesh Conversion November 3, 2016, 17:19
Replies: 86
Views: 25,329
Posted By nsf
Hi cocccone, I've just installed salome 7.8...

Hi cocccone,

I've just installed salome 7.8 and it seems to work. I can't reproduce your problem. For some reason the script doesn't recognize whatever you selected as a mesh, I can't guess as to...
Forum: OpenFOAM Meshing & Mesh Conversion November 2, 2016, 14:52
Replies: 86
Views: 25,329
Posted By nsf
Hi Sören, It's nice to see you've found uses...

Hi Sören,

It's nice to see you've found uses for the script.

I've actually never worked with wedges. Therefore I never considered them while writing the script. I'm not sure I can think of a...
Forum: OpenFOAM Meshing & Mesh Conversion July 6, 2016, 16:16
Replies: 86
Views: 25,329
Posted By nsf
Hi Siân, Groups of volumes is for creating...

Hi Siân,

Groups of volumes is for creating cell zones. For use with setFields or similar tools.

As you've already noted groups of faces is for creating boundaries. You should not set...
Forum: OpenFOAM Meshing & Mesh Conversion January 15, 2016, 05:35
Replies: 86
Views: 25,329
Posted By nsf
Yes. If you read previous post you'll find that...

Yes. If you read previous post you'll find that this script is not very efficient.
I'm sure it could be speed up alot. But the main problem is that there is no information (or at least not last I...
Forum: OpenFOAM Meshing & Mesh Conversion January 14, 2016, 16:39
Replies: 86
Views: 25,329
Posted By nsf
I've pushed an update to github that works for a...

I've pushed an update to github that works for a small testcase on Salome 7.7.

I haven't had time for proper testing so please let me know if you find bugs.

Best Regards
Nicolas
Forum: OpenFOAM Meshing & Mesh Conversion January 12, 2016, 16:09
Replies: 86
Views: 25,329
Posted By nsf
Hi, Thanks for using the code! I...

Hi,

Thanks for using the code!

I havn't had time to try out Salome 7.7.1. It would seem they changed the class name of meshes. I don't have time to investigate this today but if you'd like to...
Forum: OpenFOAM Meshing & Mesh Conversion October 5, 2015, 16:05
Replies: 86
Views: 25,329
Posted By nsf
Hi, I think the output of the scripts tells you...

Hi, I think the output of the scripts tells you were it saves the files. It's probably from the same folder as you started Salome. There you hopefully find a folder called Mesh_1/polyMesh.

With...
Forum: OpenFOAM Meshing & Mesh Conversion June 23, 2015, 14:37
Replies: 86
Views: 25,329
Posted By nsf
Perhaps you've already solved this, but have you...

Perhaps you've already solved this, but have you tried vtkUnstructuredToFoam otherwise I don't know

/Nicolas
Forum: OpenFOAM Meshing & Mesh Conversion March 23, 2015, 04:02
Replies: 86
Views: 25,329
Posted By nsf
Hi Bruno thanks for the stub! Next time I...

Hi Bruno thanks for the stub!

Next time I modify the script I'll see if I can't find time to update the wiki as well.

/Nicolas
Forum: OpenFOAM Meshing & Mesh Conversion February 15, 2015, 05:52
Replies: 86
Views: 25,329
Posted By nsf
Hi Ralph, I've only tried the scripts with...

Hi Ralph,

I've only tried the scripts with salome versions 7.2,7.3 and 7.4. Most likely you need to install a more recent version of Salome.

Best Regards
Nicolas
Forum: OpenFOAM Meshing & Mesh Conversion December 15, 2014, 01:21
Replies: 86
Views: 25,329
Posted By nsf
I'll give it a try. The last fiew lines below ...

I'll give it a try. The last fiew lines below

if __name__ == "__main__":


are only evaluated if the script is run standalone. But if you would like to import the functions as a module then it...
Forum: OpenFOAM Meshing & Mesh Conversion December 13, 2014, 10:46
Replies: 86
Views: 25,329
Posted By nsf
Thanks!

Hi, Thanks for the contribution. I've corrected the script although in a different manner than you did. The new version has been pushed to github.

Best Regards
Nicolas
Forum: OpenFOAM Meshing & Mesh Conversion December 13, 2014, 04:55
Replies: 86
Views: 25,329
Posted By nsf
Hi Piero! I wish you the best of luck. But...

Hi Piero!

I wish you the best of luck. But keep in mind that this script was one of the first things I did in python. It can most definitely be speed up. As Bernhard pointed out at approximately...
Forum: OpenFOAM Meshing & Mesh Conversion June 13, 2014, 10:35
Replies: 86
Views: 25,329
Posted By nsf
Hi Bernhard! I guess you posted while I was...

Hi Bernhard!

I guess you posted while I was still typing =).

Michele, as Berhard says you should not need root privileges. It sounds like you've opened a separate "terminal". What I meant was...
Forum: OpenFOAM Meshing & Mesh Conversion June 13, 2014, 06:27
Replies: 86
Views: 25,329
Posted By nsf
Hi Michele, The error messeage (last two...

Hi Michele,

The error messeage (last two lines) would suggest that you don't have write permission where you wan't to store the mesh. Also note one of the first lines



You are trying to save...
Forum: OpenFOAM Meshing & Mesh Conversion January 18, 2014, 11:55
Replies: 86
Views: 25,329
Posted By nsf
Your welcome Bernhard, it nice to hear that the...

Your welcome Bernhard, it nice to hear that the script is used!

Just be sure to have the mesh you wish to export selected before you run the script.

It's also possible to run salomeToOpenFOAM...
Forum: OpenFOAM Meshing & Mesh Conversion January 11, 2014, 17:52
Replies: 86
Views: 25,329
Posted By nsf
Hi Jakob, Thanks for the feedback! It's good...

Hi Jakob,

Thanks for the feedback! It's good to hear the code works for 7.3.0 as well. I haven't tested Salome-MECA and don't know anything about it. Maybe the smesh model isn't included in MECA...
Forum: OpenFOAM Meshing & Mesh Conversion December 4, 2013, 01:38
Replies: 86
Views: 25,329
Posted By nsf
Good luck Michele! OpenFOAM can seem...

Good luck Michele!

OpenFOAM can seem daunting at first but it is worth the time spent on it. You learn a lot. So good luck with your efforts!

For others reading this thread I created a new...
Forum: OpenFOAM Meshing & Mesh Conversion December 3, 2013, 15:29
Replies: 86
Views: 25,329
Posted By nsf
Hi, I'm glad to hear you got it working! ...

Hi,

I'm glad to hear you got it working!



I'm not sure. See, I recreated your problem on a simplified geometry. In my case the baffle/internal face was not meshed and the 3D mesh did not...
Showing results 1 to 25 of 30

 
Forum Jump

All times are GMT -4. The time now is 07:42.