tag:blogger.com,1999:blog-8291601264811780727.post8754944848552953500..comments2023-08-13T08:45:35.690+01:00Comments on Free your CFD: CFD tutorial: laminar flow along a 2D channel - Part Isaladhttp://www.blogger.com/profile/17358271153894097966noreply@blogger.comBlogger20125tag:blogger.com,1999:blog-8291601264811780727.post-9405875815040823962014-02-03T16:00:42.762+00:002014-02-03T16:00:42.762+00:00Hello Pashya, I'm new with Salome. I read your...Hello Pashya, I'm new with Salome. I read your tutotrial1 wrote the batch, saved it with lamflow.py used the pyton-files of Salome clicked Control T and encountered on line 2 "no encoding declared..". I checked with python.org/peps/pep-0263.html but frankly I did not know which type of encoding is appropriate, Would you help me? Thanks a lot! Best regards, PeterAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8291601264811780727.post-48669472323560530422011-02-13T10:43:59.941+00:002011-02-13T10:43:59.941+00:00Hello Joost,
Can you post your code here and I ca...Hello Joost,<br /><br />Can you post your code here and I can try to help?<br /><br />Best regards,saladhttps://www.blogger.com/profile/17358271153894097966noreply@blogger.comtag:blogger.com,1999:blog-8291601264811780727.post-85612101978250676412011-01-24T15:37:56.367+00:002011-01-24T15:37:56.367+00:00setting the extrusion length to unit * 5 does not ...setting the extrusion length to unit * 5 does not work. Apparently, making a 3d geometry should be done in a different way. Does anyone have an example of a 3d duct?Unknownhttps://www.blogger.com/profile/15350549976845975559noreply@blogger.comtag:blogger.com,1999:blog-8291601264811780727.post-54271312809963907342011-01-24T15:21:00.868+00:002011-01-24T15:21:00.868+00:00Hi salad, very useful example! Thanks a lot! I am ...Hi salad, very useful example! Thanks a lot! I am trying to adjust the python-script to a 3d duct, but encounter error messages. I have copied this part:<br /><br /># for inlet & outlet, use parabolic mesh density profile<br />algo1d_let = mesh_d.Segment(g_let)<br />seg = algo1d_let.NumberOfSegments(50)<br />seg.SetDistrType(3)<br />seg.SetConversionMode(1)<br />seg.SetExpressionFunction('(t-0.5)^2+0.1')<br /><br />and changed the "let" part to "extru" to have a square duct. Everytime Salpme tells me "mesh_d" has not been computed". <br /><br />Can you post (or email: joostdeswart at hotmail.com) the part of the script that has to be changed in order to have a 3d (meshed) duct?<br /><br />Thanks a lot,<br />joostUnknownhttps://www.blogger.com/profile/15350549976845975559noreply@blogger.comtag:blogger.com,1999:blog-8291601264811780727.post-90425131991298580372010-12-26T18:31:24.940+00:002010-12-26T18:31:24.940+00:00Hi,
I am interested in the room cooling python &a...Hi,<br /><br />I am interested in the room cooling python & xml code too. Would you kindly email it to me please? Thank you.JMBhttps://www.blogger.com/profile/00255374051727318110noreply@blogger.comtag:blogger.com,1999:blog-8291601264811780727.post-58350636823333116182010-12-26T13:38:27.414+00:002010-12-26T13:38:27.414+00:00They help minimise your loss which helps you with ...They help minimise your loss which helps you with CFD Tip number 1 – preserve precious capital. Every trade your enter should have a clearly defined CFD stop assigned to it and ideally you should have identified that CFD stop outside of live trading.CFDhttp://www.igmarkets.com.au/noreply@blogger.comtag:blogger.com,1999:blog-8291601264811780727.post-62351042593005871202010-10-06T16:29:01.829+01:002010-10-06T16:29:01.829+01:00Hi mina,
Fantastic to hear that :)
Best regards,...Hi mina,<br /><br />Fantastic to hear that :)<br /><br />Best regards,saladhttps://www.blogger.com/profile/17358271153894097966noreply@blogger.comtag:blogger.com,1999:blog-8291601264811780727.post-81749909906349167222010-10-06T16:25:36.174+01:002010-10-06T16:25:36.174+01:00Thanks for the advice. I managed to do the mesh in...Thanks for the advice. I managed to do the mesh in Salome. :) <br /><br />Best Regards,Unknownhttps://www.blogger.com/profile/15975386882882604318noreply@blogger.comtag:blogger.com,1999:blog-8291601264811780727.post-44746651229063641512010-10-05T21:50:06.025+01:002010-10-05T21:50:06.025+01:00Hello Mina,
The basic idea of this meshing method...Hello Mina,<br /><br />The basic idea of this meshing method is to control the profiles of the mesh density distributions along different directions. I used analytical expressions to define the profiles. Another pre-condition is it is a structured mesh. Please try to say what difficulties you encountered.<br /><br />I used python code directly in this post because it is the most precise way. I wrote these code by myself without referring to any tutorials or examples rather than the SALOME documents. You can execute them in SALOME - no problem. I also suggest you modify the code to suit your case firstly.<br /><br />Saturne doesn't include a mesh generation tutorial. You can probably find some examples on the SALOME website.<br /><br />Good luck :)<br /><br />Best regards,saladhttps://www.blogger.com/profile/17358271153894097966noreply@blogger.comtag:blogger.com,1999:blog-8291601264811780727.post-15938670371263253112010-10-05T10:08:35.775+01:002010-10-05T10:08:35.775+01:00Hi,
Thanks for this tutorial. I am trying to gene...Hi,<br /><br />Thanks for this tutorial. I am trying to generate the mesh for the simple junction tutorial in a Code-Saturne tutorial found in the doc directory of Code-Saturne 2-rc1. I am doing the first section and the mesh seems to be similar to the one you have got here for the channel flow. I tried to implement the methods you have used for generating the mesh but did did not manage to do it. <br /><br />Do you know of any tutorials or example where they explain mesh generation of this kind and also is what you have used here the same idea as the one used in the saturne tutorial? <br /><br />Thank you in advance. <br /><br />Regards,Unknownhttps://www.blogger.com/profile/15975386882882604318noreply@blogger.comtag:blogger.com,1999:blog-8291601264811780727.post-3027124562621404022010-09-21T10:31:14.752+01:002010-09-21T10:31:14.752+01:00Hello Mark,
Can you achieve to do that by control...Hello Mark,<br /><br />Can you achieve to do that by controlling the mesh profile along each segment of the cubic box? The code in this post can be referred as well.<br /><br />I didn't use the Mesh.TranslateMakeMesh function. If your scenario is complex when using the method presented here, we can try to use the function instead. Can you email a drawing for me to understand the requirements you really want? My gmail account is salad00.<br /><br />Best regards,saladhttps://www.blogger.com/profile/17358271153894097966noreply@blogger.comtag:blogger.com,1999:blog-8291601264811780727.post-76857065658392071912010-09-20T12:39:19.613+01:002010-09-20T12:39:19.613+01:00Hi,
I noticed that some time ago you posted a que...Hi,<br /><br />I noticed that some time ago you posted a question on the Salome forum about how to generate a periodic mesh on paired-faces of a cubic box.<br />Im currently working on implementing OCC techniques into a maxwell equation solver where I am facing exactly the same problem. <br />To me it seems this should be possible with the SMESH module by functions like smeshDC::Mesh.TranslateMakeMesh, but Im not shure if it could work.<br />Could you find a solution for this problem?<br />Thanks a lot for any comments on this,<br /><br />Mark<br /><br />My email is mark.blome (at) gmail dot comUnknownhttps://www.blogger.com/profile/00056693517581399902noreply@blogger.comtag:blogger.com,1999:blog-8291601264811780727.post-44319047660308256762010-08-04T21:53:19.281+01:002010-08-04T21:53:19.281+01:00Hi agentZ,
I have sent the package to you. Please...Hi agentZ,<br /><br />I have sent the package to you. Please confirm if you receive it.<br /><br />If there are other problems, don't hesitate to communicate.<br /><br />Best regards,saladhttps://www.blogger.com/profile/17358271153894097966noreply@blogger.comtag:blogger.com,1999:blog-8291601264811780727.post-14094637138327420462010-08-04T03:10:00.942+01:002010-08-04T03:10:00.942+01:00Thanks agentZ.
I'm more interested on code_sa...Thanks agentZ.<br /><br />I'm more interested on code_saturne part. So If you can send me the mesh and xml that would be great. or maybe just the whole study directory (I do not want to mess up with files).<br /><br />thanks.<br /><br />email: florante_kho@yahoo.comagentZhttps://www.blogger.com/profile/08563637137655895299noreply@blogger.comtag:blogger.com,1999:blog-8291601264811780727.post-87643473881052121022010-08-03T11:12:33.526+01:002010-08-03T11:12:33.526+01:00Hi agentZ,
Absolutely I can. You need this python...Hi agentZ,<br /><br />Absolutely I can. You need this python code file, or any others? Please leave an email address and I'll send to you.<br /><br />Best regards,saladhttps://www.blogger.com/profile/17358271153894097966noreply@blogger.comtag:blogger.com,1999:blog-8291601264811780727.post-88598126534964308962010-08-03T08:27:35.397+01:002010-08-03T08:27:35.397+01:00hi can you post this example on line. thankshi can you post this example on line. thanksagentZhttps://www.blogger.com/profile/08563637137655895299noreply@blogger.comtag:blogger.com,1999:blog-8291601264811780727.post-31144727398934742672010-06-11T22:17:26.288+01:002010-06-11T22:17:26.288+01:00Hi Ana,
Well, it doesn't seem to be difficult...Hi Ana,<br /><br />Well, it doesn't seem to be difficult. I have contacted your email.<br /><br />Best regards,saladhttps://www.blogger.com/profile/17358271153894097966noreply@blogger.comtag:blogger.com,1999:blog-8291601264811780727.post-59388299007445504352010-06-11T11:42:48.094+01:002010-06-11T11:42:48.094+01:00Well, I work on a project which aims to simulate a...Well, I work on a project which aims to simulate an airflow in a room of servers. The input from the user is the dimension(3D) of the room, dimensions(3D) of several objects in the room(represented by rectangles) and position of an air source, let's say an air conditioning unit. <br /><br />The user interface is done, and now I have to create in Salome a geometry and a mesh based on user's given dimensions. I'm kind of new with Salome and I have to do this part with scripts in python, the result will be processed later on using Saturne. As an example, let's say the room has the following dimensions: height: 3000 mm, lenght: 9000 mmm, width: 5000 mm and in the middle of the room, on the floor is a rectangle of height: 1000 mm, lenght: 2000 mmm and width: 2000 mm. <br /><br />In addition to this, I also don't know how to place the air source in the room. I think the position has no relevance now, since it can be changed easily by providing some coordinates.<br /><br />Here is my e-mail and gtalk address: ana.stroe@gmail.com. I've been reading some tutorials, but none give me a solution on how this can be done.<br /><br />Thank you again,<br />AnaAnonymoushttps://www.blogger.com/profile/02531900492607534471noreply@blogger.comtag:blogger.com,1999:blog-8291601264811780727.post-48706709067164932702010-06-11T10:59:04.740+01:002010-06-11T10:59:04.740+01:00Hi Ana,
Yes, I could if you can provide more deta...Hi Ana,<br /><br />Yes, I could if you can provide more details. I will try to help.<br /><br />Best regards,saladhttps://www.blogger.com/profile/17358271153894097966noreply@blogger.comtag:blogger.com,1999:blog-8291601264811780727.post-31367775510766027772010-06-11T10:00:09.243+01:002010-06-11T10:00:09.243+01:00Hello,
I was wondering if you could help me with ...Hello,<br /><br />I was wondering if you could help me with some examples(geometry, mesh and exporting to med file) of modelling in Salome an airflow from a device(from a 3d room) into the same room. The room has also some objects(boxes) in it. All of this should be done 3D, using python scripts.<br /><br />Thank you,<br />AnaAnonymoushttps://www.blogger.com/profile/02531900492607534471noreply@blogger.com