*ENDSTEP]]>Other FE & CFD codesThu, 05 Apr 2018 12:33:15 +0000Calculix Solvers - by: Matthew Barringtonhttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/9262-calculix-solvers#9262
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/9262-calculix-solvers#9262
I am interested in checking out CAELinux but first want to make sure it has the functionality I need.

1) Does the Calculix distribution have the Paradiso Solver functionality?
2) Can you post process the Calculix (.frd) file in Paraview?

Thanks for your time,
-MB.]]>Other FE & CFD codesMon, 02 Apr 2018 16:52:09 +0000requirement for plastic card in Calculix? - by: Bruno Zillihttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/9019-requirement-for-plastic-card-in-calculix#9251
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/9019-requirement-for-plastic-card-in-calculix#9251
I'm using ccx 2.12 with beams and plasticity. Results are reasonably good. Now I would ask you about the integraton of the stresses on the cross section. Which is the algorithm? Does the code consider a fiber model? Is it possible to size it? I didn't find it in the docs. Thank you very much indeed for every help.
Bruno]]>Other FE & CFD codesSun, 21 Jan 2018 20:22:18 +0000AVL 3.32 - by: vkhttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/7084-avl-3-32#8607
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/7084-avl-3-32#8607
I ran into the same problem trying to compile avl 3.35 on my ubuntu 14.04 (trusty).

I made a post in UbuntuForums about installing AVL in Ubuntu not to long ago

I did read it thoroughly. However some of the compiler command (e.g. -dbl) are "outdated".
I tried to work around it without any luck. It compiles "successfully", but running AVL I get the output:

/C]]>Other FE & CFD codesWed, 13 May 2015 14:37:06 +0000Re: how to model dispersion of particles in code satur - by: dioumhttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/7731-re-how-to-model-dispersion-of-particles-in-code-satur#7731
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/7731-re-how-to-model-dispersion-of-particles-in-code-satur#7731
thank you for your answer
i am sorry to answer this late i was on vacation.
i have to run a simualtion to model the dispersion of particles.
i don't know what parameter are needed when i activate particles droplets. i dont know how to start a simulation using the diffusion of particles with code saturne.
do you have anhy tutoriel that can help me.
do you speak french]]>Other FE & CFD codesMon, 18 Aug 2014 05:00:32 +0000how to model dispersion of particles in code satur - by: Yvan Fournierhttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/7692-how-to-model-dispersion-of-particles-in-code-satur#7717
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/7692-how-to-model-dispersion-of-particles-in-code-satur#7717
Could you provide more details ? (log files, error messages, etc, ) ?

A good guideline for details which may help others help you are provided in the forum usage recomendations on the main Code_Saturne website (code-saturne.org) ?

Regards,

Yvan]]>Other FE & CFD codesSat, 02 Aug 2014 22:29:00 +0000dynamic contact line - by: Seyed Mehdihttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/7561-dynamic-contact-line#7561
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/7561-dynamic-contact-line#7561
I am using openFoam to see how liquid trapped within tiny gaps behave. The qoal is to see if capillary force due to surface tension can overcome the weight. the first snap shot shows liquid within the tiny gap at initial time. Second snap shopt shows the liquid moves and that some of it still gets trapped at the tip due to surface tension. The tird snap shot show how the drplet formed below the colloumn moves towards the side walls.
I used this (bekow ) condition for the wet walls and also the bath top walls:

Do you think results sound right? if niot what would you suggest to change as boundary condition?]]>Other FE & CFD codesTue, 06 May 2014 14:30:46 +0000OpenFOAM and Code-Saturne problem - by: Pranavhttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/7317-openfoam-and-code-saturne-problem?start=6#7342
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/7317-openfoam-and-code-saturne-problem?start=6#7342
I'm now trying OpenFOAM. For k-epsilon, I used an online calculator :
anisonyan.com/keps/
I used Saturn to check Mesh Quality and it reports 15% of my cells are bad in Category 3: Least-square, a few are also bad in Category 0: Orthogonality. I used Netgen 1D-2D-3D for grid generation.

In OpenFOAM I get the following error output. Could somebody point me in a direction I could proceed?

(it works with CalculiX)
new GMSH2CalculiX converter is here (for windows + source code)
sourceforge.net/projects/calculixforwin/files/
]]>Other FE & CFD codesMon, 24 Jun 2013 01:22:09 +0000How to modelise phase change material? - by: Adrienhttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/6903-how-to-modelise-phase-change-material#6903
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/6903-how-to-modelise-phase-change-material#6903
For the purpose of a study I would like to model the behavior of a phase change material. My material is dry ice, but I would assume that it does not really matter, for now.
For a first step, I will not really matter of the change of phase of the material. I mean the solid will becomes a gas or a liquid but I do not care, it could stay a solid in the simulation.
I just want to have the ENERGY point of view since the study is related to heat transfer.

Could you please advice me how to do so? I assume there is a kind of general method independent of the software, like changing the specific heat of the material vs temperature?]]>Other FE & CFD codesThu, 16 May 2013 06:04:11 +0000Cube mounting simulation - by: CAVThttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/6763-cube-mounting-simulation#6775
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/6763-cube-mounting-simulation#6775
The best advise I can think of now is to check Code_Aster documentations and tutorials, as well as Impact's. I think the wiki has some good info too, and of course the dedicated forums, they'll answer you much better than me.
Anyway, the material you should load I guess must have a stress-strain curve resembling aluminum, I think that's a good start point, and be sure to allow strains larger than 100%, so to allow for very large deformations without obtaining fracture.]]>Other FE & CFD codesThu, 28 Mar 2013 22:07:40 +0000Simple FEA in MATLAB/Octave - beam elements - by: Matthew Bondyhttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/6703-simple-fea-in-matlab-octave-beam-elements#6703
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/6703-simple-fea-in-matlab-octave-beam-elements#6703
I have attached a simple model developed for use with Octave of a simple structure. The physical part consists of a corrugated plastic spring and a steel cable. I have tried to model the plastic spring with beam elements and the cable as a rod free to rotate at each end (assuming the cable is not slack this seems reasonable). It seems to me the significant displacements of some nodes might be causing my problems, in other words I think I might be dealing with a large deformation type problem and my model may (unknown to me initially) rely on the assumption of small displacements.

The loads in the cable are much too large and some of the plastic entities deform excessively in the current model.

Any advice would be appreciated,
- MJB

File Attachment:

]]>Other FE & CFD codesMon, 18 Feb 2013 03:37:23 +0000Elmer validation/limitations - by: Peterhttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/6569-elmer-validation-limitations#6589
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/6569-elmer-validation-limitations#6589
Elmer has been verified always when new models have been introduced. The verification may be againts simple analytical solutions, or against results from other codes. The verificiation is not complete in the sense that all possible choices by the user would have been verified. That would probably be impossible but generally also the user is assumed to know what she is doing.

The philosophy of Elmer is quite different from Code_Aster and Code_Saturne since these codes are the backbone of the simulation activity of EDF and verification and validation cannot be taken lightly if you have nuclear power to consider. This on the other hand, makes the codes more stale. It is more difficult to introduce new features upstream in a catheedral type of development model. In Elmer we emphasize agility and strive to have a more bazaar type of development model. Sometimes good ideas are implemented the same day, and people may even be given right to commit code. Combined with the extreme modularity of Elmer I would guess that Elmer is more easily adaptable, but on the other hand, if you're doing what EDF is doing you'll find better validated models there.

It is quite difficult to say that Elmer would not have any limitations. There are so many fields: fluids, structures, electromagnetism, acoustics, transport, etc. Usually people will have some specific field in their mind and do not maybe think of the number of fields. The main strength in Elmer is that these fields may be coupled without an a priori defined way. In individual fields among OS codes OpenFOAM is certainly more able in high Re flows. Elmer excells more in FSI, and recently also perhaps in acoustics and electromagnetism where there are quite modern models. From developers point of view there are actually quite little limitations as you can always write new code, but the time-to-solution may just become impractical if there are existing solutions in some other codes.

Peter]]>Other FE & CFD codesMon, 12 Nov 2012 18:28:44 +0000KEY WORDS in GUI - by: Fabiohttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/6416-key-words-in-gui#6426
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/6416-key-words-in-gui#6426
if anyone is interested to this argument, you can have a look at

1. Is possible to simulate particles tracking filling in "Boundary Statistic" and "Volume Statistic" in the GUI, respectively showing off where particles settle and their path in the flow?

2. What format do I need to achieve my aim and what software do I have to use?

3. To carry out Plot 2D graph in Salome, do I need to process in Code-Saturne with "format = text (not binary)", or something different?

please help me if anyone can, because I think I'm near the solution, but I'm sure I miss a step.

Thank you in advance

Fabio]]>Other FE & CFD codesTue, 31 Jul 2012 06:25:14 +0000Aircraft Propeller model - by: Matthew Bondyhttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/6366-aircraft-propeller-model#6374
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/6366-aircraft-propeller-model#6374
It is not the easiest software to learn in some ways, I have not looked in some time but there were a lack of good tutorials. Then again video tutorials or the like are not really all that practical or necessary with OpenFOAM since it really is terminal based.

There is also a user interface called Discretizer. It makes OpenFOAM really easy to use but it seems somewhat incomplete (last I looked at, which was some time ago). A quick look reveals a new version:
www.discretizer.org/

Discretizer is part of CAELinux but it is an older version.

I have no idea if any sort of propeller model will be reasonable with OpenFOAM. In Fluent there are moving reference frame models that can be used to simulate turbomachinery. I would think that OpenFOAM must in some way allow you to study this phenomenon. It almost certainly will use features that will not be built into discretizer.

I also recently heard of a new third party GUI for OpenFOAM. I think it may also be open source. It sounded like it would be quite good. I will ask a colleague using OpenFOAM to pass along some information which I will post here.

Speedup is about 4X vs a single core on my dual-quadcore Xeon and I use about 5GB of RAM.

Would be great if OpenMP directives were added to OpenFoam source code so one can get the most out of modern multicore machines. Unfortunately my time to dig into the code is pretty limited.]]>Other FE & CFD codesFri, 01 Jun 2012 17:04:40 +0000error on CONVERT2SYRTHES making - by: Yvan Fournierhttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/6286-error-on-convert2syrthes-making#6296
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/6286-error-on-convert2syrthes-making#6296
If there is already an executable, you may not need to run "make". Otherwise, judging by the error message, you forgot to run make as root or using "sudo".]]>Other FE & CFD codesMon, 14 May 2012 18:58:28 +0000Chemical Rxn based multiphysic capabilities? - by: CAVThttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/6251-chemical-rxn-based-multiphysic-capabilities#6252
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/6251-chemical-rxn-based-multiphysic-capabilities#6252
OpenFoam, mostly known as a CFD tool, is actually a powerful multiphysics solver, and I'm sure it will be able to handle your case. However, you will have to be patient, there is no GUI as you may have in COMSOL.
You may also try Code Saturne, which does have some chemical reaction capabilities, and for the msot simulations offers a very nice GUI (tough simulations recquire some scripting though).
All these softwares are included in CAELinux, or you may downlaod them separately in your own Linux workstation (ok, they work under Windows too, but c'mon, we are serious here )]]>Other FE & CFD codesMon, 09 Apr 2012 18:20:43 +0000How to use the gas combustion module ? - by: Celmahttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/6206-how-to-use-the-gas-combustion-module#6206
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/6206-how-to-use-the-gas-combustion-module#6206
I will wish to use the gas combustion module but so far without success.
I tried to activate it as described in the practical user's guide, for example by changing the "Eddy-Break Up pre-mixed flame" section in the file usppmo.f90,
line "ippmod (icoebu)" to 0.
This change has enabled "Pulverised Coal" module in the "Code Saturn GUI".

With only the basics in Fortran I can not follow the correct procedure.

First test:
- Importing.
- Meshing.
- Problem identified: The volume has been modeled in the thickness, between the inner and the outer surface.
- Processing with Saturn.

Displaying :
In Post-Pro we see that the fluid flows in the thickness of the part and not inside, because the logical volume has been modeled in this area.

Possible solutions :
1 - Following the import, in "Geometry", remove all external surfaces and keep only the interior surfaces to create the volume.
Solution discarded because the process is too long for a complex part.

2 - Make a Boolean operation, Create a cube and place the piece in the center, then "cut" the part, the mesh volume is expected to be create inside.
I am currently testing this solution, for now without success.

Both Code_Saturne 2.0.2 and 2.1 can be built either with MED 2.3 or MED 3.0 (older versions only managed MED 2.3), but if you build it with MED 2.3, you will not be able to read meshes in MED 3.0 format (SALOME 6.3 and above), and get exactly the error you describe.

It seems you may have multiple versions of Code_Saturne installed, and are not using the one you believe.
How did you start the code ?

Starting with Code_Saturne 2.1, only the main code_saturne script is in the path. Other executables, such as cs_solver, cs_preprocess, ... are in <install_prefix>//libexec/code_saturne (with <install_prefix being /usr/local in your case, for /usr/local/libexec/code_saturne/cs_preprocess), and the command line arguments for the preprocessor have changed a bit.

Joel Cugnoni]]>Other FE & CFD codesThu, 01 Dec 2011 11:50:26 +0000another saturne question :) - by: Filippo Monarihttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/5811-another-saturne-question#5811
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/5811-another-saturne-question#5811
I'm trying to do a cfd study in order to find the main air fluxes around a small building.
I need to impose some temperatures to the boundary walls of my model.
I figured that it can be done adding passive scalars and assigning them as boundary conditions to the walls but how can I say to saturne that those scalars are temperature values?
And how does saturne consider them in the calculation?
If someone have some advice to give me about that i would be glad.
Thank you in advance]]>Other FE & CFD codesThu, 20 Oct 2011 14:19:59 +0000saturne simulation fail - by: Claushttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/5806-saturne-simulation-fail#5809
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/5806-saturne-simulation-fail#5809
That's about all the help I can give

Regards,

Claus]]>Other FE & CFD codesWed, 19 Oct 2011 13:19:24 +0000problem running saturne - by: Filippo Monarihttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/5798-problem-running-saturne#5799
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/5798-problem-running-saturne#5799]]>Other FE & CFD codesSun, 16 Oct 2011 00:46:04 +0000dynamik meshe for a moving piston - by: Martin Bischoffhttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/5749-dynamik-meshe-for-a-moving-piston#5749
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/5749-dynamik-meshe-for-a-moving-piston#5749
I think about the idea to step into the world of CAE Linux users. I made some of the salome, saturn and code astor tutorials. Now I would like to create a model of a piston that moves in a cylinder (four stroke engine). Is there anybody who can tell me, if it is possible to use salome and saturn for such a task? Is openFOAM able to solve such tasks? Which solver is better for this problem? I have red that you need dynamic meshes

Maybe some of you has solved such task with saturn or openFOAM and can tell me how I can built up the model.

I used a manual install (we added an installation guide that is also available with the download, which might help).

Also, do you have only one version of Code_Saturne installed or do you have several versions in your path ? (which might happen if you have one version from CAELinux plus one which you downloaded, for example). If you have multiple versions, be careful to have the version you are trying to use first in your path.

If this still fails, logs from your installation or at least the output of &quot;code_saturne config&quot; will help, as well as the preprocessor output (if there is none, it is an info in itself) would help.]]>Other FE & CFD codesFri, 19 Aug 2011 23:56:34 +0000How to install discretizer? - by: Matthew Bondyhttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/5669-how-to-install-discretizer#5669
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/5669-how-to-install-discretizer#5669
There is a script to launch discretizer. In CAELinux these lines have been added:
. /opt/.bashrc-CAE
. /opt/.bashrc-OpenFOAM

I have tried adding the second line to the script that launches discretizer but it does not work any better. I found files in /opt called .bashrc-CAE and .bashrc-OpenFOAM. I have created the second file in my /opt directory with identical contents. For the most part . /opt/.bashrc-CAE does not seem to have anything to do directly with discretizer or openfoam. There is one line for openfoam but it is commented out.

I am now able to run at least some simulations created in CAElinux for Openfoam using discretizer and copied over to the clean 8.04 installation. The most significant problem I now have is the inability to import any type of mesh to discretizer. When I select which type of mesh to import, discretizer crashes immediately (this is on the clean install of 8.04).

Has anybody come across this?]]>Other FE & CFD codesThu, 18 Aug 2011 01:11:42 +0000TUTORIAL: How to compile CALCULIX in Ubuntu, in multi-thread or multi-core - by: Sebastian Rodriguezhttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/5598-tutorial-how-to-compile-calculix-in-ubuntu-in-multi-thread-or-multi-core#5598
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/5598-tutorial-how-to-compile-calculix-in-ubuntu-in-multi-thread-or-multi-core#5598
Recently I've been working on some high-resource analisys with CALCULIX, developing multiple complex contact analisys. In order to maximmize the productivity of the process I decided to compile CALCULIX in multi-thread mode. The documentation about how to do this is already in the web and many of you interested in the topic may have already done this, but for those who doesn't, I want to share the tutorial I just made to help in this task.

Well ther is no sense on use a multi-core computer for FEA, if you can just use one core.

Bye]]>Other FE & CFD codesWed, 20 Jul 2011 17:13:46 +0000Compressible calculation with Code_Saturne - by: CROZONhttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/5523-compressible-calculation-with-code-saturne#5572
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/5523-compressible-calculation-with-code-saturne#5572
Thank you for your answer. I am trying to simulate subsonic flows (mach number between 0.3 and 0.5) but with sometimes a strong deflection that leads to high velocities so the compressible effects should be taken into account.

I tried to correct the file (check the attached file). Unfortunately I have no been able to work with Calculix lately, so the error persisted.
Try to substitute the converter with the attached one.
If you vant to play with it, the array inp_to_med_xxx maps the nodes from aster in the order expected from calculix.]]>Other FE & CFD codesMon, 24 Jan 2011 08:05:27 +0000Some CalculiX works and tutorials on CAElinux - by: Sebastian Rodriguezhttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/5146-some-calculix-works-and-tutorials-on-caelinux#5146
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/5146-some-calculix-works-and-tutorials-on-caelinux#5146
My name is Sebastian I'm from Bogota - Colombia , I'm an Mechanical Engineering student. and , first at all, if this doesn't belongs here I'm sorry, I'm posting this in two places.

At this time I'm working in a proyect with CAElinux and CalculiX about mecanic dinamics biomecanics , in my way to do this, I'm posting in my blog all the research and test with CAElinux and onboard programas. I've done some tutorials (
tiny.cc/bzmht
) in order to get use to CalculiX interface and some exercises wiht Blender and NET-Gen that I think some of you can find them usefull.

Code_Saturne can be coupled to thermal software SYRTHES for conjugate heat transfer. It can also be used jointly with structural analysis software Code_Aster, in particular in the Salomé platform. SYRTHES and Code_Aster are developed by EDF and distributed under the GNU GPL licence.]]>Other FE & CFD codesTue, 14 Dec 2010 11:25:12 +0000Code Saturne build - by: Claushttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/5003-code-saturne-build#5007
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/5003-code-saturne-build#5007
About the Aster bundled with MECA, yes, I've noticed that as well - it is some trick that the Intel compiler does, but the version I've compiled myself using Intel compilers does not use the cores as efficiently. Im really curious what makes the SaloméMECA version run so efficiently.

Glad you got CS working

Regards,

Claus]]>Other FE & CFD codesThu, 02 Dec 2010 09:22:27 +0000Polyflow equivalent - by: elvishttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4659-polyflow-equivalent#4994
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4659-polyflow-equivalent#4994
if you use OpenFOAM 1.5-dev you have all the viscoelastic Modells you might want to use. But take care the vanilla Version by OpenCFD does not offer the same capabilaties!

Rho is the density of the fluid, usually freestream (if you're using incompressible flow, it's the same everywhere, this is the most usual case). V is your reference velocity magnitude, usually it is the freestream velocity or the inlet velocity, but that is arbitrary and can be other velocity like local. L is your reference length, this is also an arbitrary choice, in the case of airfoils you take the airfoil chord, in your case you may want to take the hydraulic diameter. Mu is the fluid's dynamic viscosity, which can be found tabulated or you can calculate it with the Sutherland formula if it's a gas. The choice of the arbitrary parameters will depend on what's usually found in books for the case you're doing. For the nozzle I think with the inlet velocity, hydraulic diameter and inlet density you'll do perfect. Code_Saturne calculates Re automatically from the introduced data.

The hydraulic diameter is the diameter that would have an imaginary inlet with the same area as your inlet's cross section. Actually it's the wet area, but I suppose in your case the whole inlet area is wet by the fluid (a non fully wet area example could be a pipe with water until the midlevel only). For any cross section that you have, the formula is the same:

Dh = 4 * A / P

A is your inlet cross sectional area and P its perimeter. You say you have an anular inlet, is it anular or circular? An anulus is the area between two concentric circles, so the perimeter is the summatory of each circle's perimeter. If it's circular, then Dh = D (pretty obvious, ).
In Code_Saturne the Hydraulic diameter is used to make an initial guess of the turbulence parameters, so despite you must enter the value, it's not a vital parameter as it is used in the first step only. Actually you can define your own turbulence parameters in the user subroutines overriding the Dh definition, but that's another thing.]]>Other FE & CFD codesFri, 12 Nov 2010 15:51:58 +0000openfoam error - can't write to file - by: Wee-Beng TAYhttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4883-openfoam-error-can-t-write-to-file#4906
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4883-openfoam-error-can-t-write-to-file#4906Other FE & CFD codesFri, 05 Nov 2010 00:30:07 +0000axisymetric pb on code saturn - by: guillaume23https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4837-axisymetric-pb-on-code-saturn?start=6#4897
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4837-axisymetric-pb-on-code-saturn?start=6#4897
I think i understand. I have other basic questions but I will send on another post.

Thank you for advices.

Guillaume]]>Other FE & CFD codesWed, 03 Nov 2010 11:15:57 +0000Flat 2D surface immersed in 3D flow, is it possible? - by: CAVThttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4811-flat-2d-surface-immersed-in-3d-flow-is-it-possible#4832
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4811-flat-2d-surface-immersed-in-3d-flow-is-it-possible#4832Other FE & CFD codesTue, 12 Oct 2010 00:58:49 +0000CS inlet temperature - by: Yvan Fournierhttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4542-cs-inlet-temperature#4749
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4542-cs-inlet-temperature#4749
Actually, fixing a temperature can lead to a heat flux. For example, if a fluid with inlet temperature 10° is flowing through a pipe, and you prescribe a wall temperature of 20°, it means you need to heat the pipe to maintain the wall temperature at the prescribed value, and that heat will be transferred to the fluid, hence a positive flux.

In Code_Saturne, the relation between the heat flux and the wall temperature depends on the turbulence model, so it is not straightforward (you would need to look at the CONDLI and especially CLPTUR subroutines to see how the Nusselt number is computed). For laminar flows, as there is no wall law, the exchange coefficient is simply based on the temperature gradient, and the heat flux is basically mass flow * conductivity * temperature gradient, but in most cases, you will be using a turbulent model.

This also means that the heat flux you obtain may be dependent on the turbulence model and wall law you are using.

That should generate a new mesh in med format taking the data from the original file, which is not overwritten.]]>Other FE & CFD codesFri, 17 Sep 2010 19:56:53 +0000MED file in Code-Saturne, error when check mesh - by: CAVThttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4723-med-file-in-code-saturne-error-when-check-mesh?start=6#4742
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4723-med-file-in-code-saturne-error-when-check-mesh?start=6#4742
I'm running Saturne under Unity Linux (a Mandriva based distro) without problems. I think you had problems when compiling Saturne during the &quot;make&quot; stage and then you made &quot;make install&quot;. I did get some errors while building it but I could solve them modifying a few lines in the marked files. Usually it's about not including cstring or issues with tcl/tk. Did you have such errors? You should arrive to the end of the building process without ever seeing the enclosed word Error, other warnings are fine.
Now, in your first post it says there's a missing library. You should have downloaded previously from Saturne's site a compulsory library to read Med files (can't recall the name now), otherwise Saturne won't be able to read them. Search your system for the file &quot;libmedC.so&quot; or &quot;libmedC&quot; and see all the results. If there's at least one result like libmedC.so.1.xx or similar, you will solve the problem just by doing a symbolic link in the directory where you found the original file:

ln -s libmedC.so.1 [complete name of original file]

If nothing is found, try downloading the library from Saturne's site and compile it.

The xml error could be because you're trying to open a file created with a different Saturne version than yours. Now, if you generated the file with your version of saturne, then I'm lost.

I hope I could help you ]]>Other FE & CFD codesThu, 16 Sep 2010 21:21:04 +0000Problem with paraFoam - by: Jerry Blackhttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4727-problem-with-parafoam?start=6#4740
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4727-problem-with-parafoam?start=6#4740
That was the problem - I hadn't figured out the drop-down box on the left. Colors aren't as bright as in the old version but I'll figure that out - results and display are correct - see screenshot.

Thank you for your help - it is much appreciated.
Jerry Black

]]>Other FE & CFD codesThu, 16 Sep 2010 18:10:26 +0000Saturne is not calculating - by: CAVThttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4526-saturne-is-not-calculating?start=6#4693
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4526-saturne-is-not-calculating?start=6#4693
I've made an unsteady simulation of an air extracting system with two inlets, one which injects and other extracting. I set the initial velocity matching the magnitude, direction and sense of the injection inlet, but rather opposite to the extracting inlet. The results were very nice even with a quite coarse mesh. I made the simulation as unsteady, laminar and 1000 steps of 0.01s... took only 12mins . All steps exhibited a generally good behaviour of the variables according to qualitative experimental data, so initial velocity wasn't a key factor. Courant's number was also well below 5 in practically every point across space-time.

Post edited by: CAVT, at: 2010/09/09 15:42<br /><br />Post edited by: CAVT, at: 2010/09/09 15:46]]>Other FE & CFD codesThu, 09 Sep 2010 13:41:59 +0000Calculation on natural convection with CS - by: Aliciahttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4290-calculation-on-natural-convection-with-cs#4573
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4290-calculation-on-natural-convection-with-cs#4573
unfortunately I could not continue this case as I didn't have time for this. It was just a test case I would have liked to run because it was interesting. I can not post the mesh either because it is too big...

I can not post either the article in which I found the case for the same reason, but here is the title : &quot;Comparison of finite element and finite volume methods for simulation of natural ventilation in greenhouses&quot;.

By the way I was using CS 1.4.b, but now I'm using cs 2.0-rc2, but don't have time at all to come back on the calculation...

Thanks again, I appreciate the effort !

Alicia<br /><br />Post edited by: Alicia, at: 2010/08/18 18:26]]>Other FE & CFD codesWed, 18 Aug 2010 16:23:40 +0000cs installation problem on fedora 13 - by: Yvan Fournierhttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4546-cs-installation-problem-on-fedora-13#4552
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4546-cs-installation-problem-on-fedora-13#4552
the code-saturne.org website is sadly not up to date, but you may find 2.0-rc2 in the forums &quot;announces&quot; section on
code-saturne.info
. If you have any other issues, feel free to e-mail Code_Saturne support to get an account on the forum and bug-tracker, but the code is regularly used and tested on a wide variety of platforms, and installation issues are usually related to missing packages, or simply missing development headers (and for the documentation, of missing &quot;fig2dev&quot;).]]>Other FE & CFD codesThu, 12 Aug 2010 22:53:18 +0000Computation time? - by: CAVThttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4324-computation-time#4541
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4324-computation-time#4541
I solved a steady-state case with k-e model and a tetrahedron mesh of 168000+ nodes in my modest 32bit Sempron LE1100 with 2GB RAM and it took between 650 and 700 seconds each iteration. I set 20 iterations to be solved, so the case was ready after 4h 15min.
The cpu was working at 100% fulltime and the RAM usage was above 1GB always, occasionally swaping a few MB, no more than 60MB, and that taking into account that my swapiness was relatively high. I must congratulate Saturne guys because despite this exigence my machine ran smoothly practically any other app at the same time, including watching YouTube.
Meshing with Salome is somewhat slow though, GMesh is much faster. I'll see how it goes with EnGrid once I manage to install it.]]>Other FE & CFD codesWed, 11 Aug 2010 06:20:02 +0000Saturne is not calculating - by: CAVThttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4527-saturne-is-not-calculating#4527
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4527-saturne-is-not-calculating#4527
Well, I'm trying to run a simple case with Saturne, it's my first time with it an depite I follow all the steps like in the original turorial Sturne doesn't seem to perform any calculation at all...
I'm using the old CAELinux 2008, as my machine is a 32bit Sempron, but the ahrdware specs are not he problem, surely I'm not doing something well. Firstly I made in Catia a very simple delta wing, just a triangular plate with beveled borders, a larger box which plays the part of &quot;field&quot;, inserted there the wing, and with boolean operations I ended having a solid prism with a hollow sector corresponding to the &quot;removed&quot; delta wing. That part was not problematic at all. I saved the resulting geometry as a STEP file.
Now in Salome I added a cylinder surrounding the delta wing, but I did by revolving a line, so the resulting object is a surface. I partitioned the box with the cylinder, so now I can assign two different mesh sizes to each volume. I made a mesh with two submeshes using tetrahedorns as 3d element and exported the mesh as a med file.
Now in the CFD wizard I defined the case with its directory and mesh file, and the Saturne GUI opened. Well, basically I set everything as in the Saturne video tutorial, exceptuating group names, initial velocities and fluid characteristics. But when I press &quot;batch processor run&quot; the process would last a few seconds (10, 15, not more) and if I examine the listing file it would be like 560 lines, much less than the 2000+ I should get. The I open the generated med file in Salome but the postprocess shows only nodes and families, but nothing like velocity, pressure or similar, and I checked the whole options tree. I suppose that Saturne is not doing things well or I am missing something that I simply cannot realize of. Salome doesn't seem to be the problem.
I hope that any of you can give me hint. Thank you very much.

hope it helps.
rui]]>Other FE & CFD codesSat, 03 Jul 2010 23:22:38 +0000CFD + thermal of water jacket - by: proeprohttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4333-cfd-thermal-of-water-jacket#4333
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4333-cfd-thermal-of-water-jacket#4333
Can this be done in CAELinux and which package(s) would I use?]]>Other FE & CFD codesFri, 11 Jun 2010 17:48:52 +0000code saturne - by: Yvan Fournierhttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4320-code-saturne#4322
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4320-code-saturne#4322
Are you using the pre-version of Code_Saturne 1.4 distributed with the current CAELinux, or a different version from www.code_saturne.org or code-saturne.info ?

In your case directory structure's RESU subdirectory, you should find a compil.log.&lt;date_time&gt; file, which will contain more info on the error you encountered. Could you post it (I probably won't have the chance of logging to this forum before next Monday, but I can look after that). Otherwise, send an e-mail to This email address is being protected from spambots. You need JavaScript enabled to view it., either directly with your question, or better, to request an account on the main Code_Saturne forum at
code-saturne.info
, where you may get a faster response (We Code_Saturne developpers mainly check that forum, and there is also quite a bit of activity on the University of Manchester's forum, but we only check the CAElinux, cfd-online, and SALOME forums occasionally).

I indeed received the confirmation e-mail for my account last week, but it went directly in the spam box, and I never check if there is any lost e-mail there...

For my case, I will try with the basic inlet and outlet and let you know how it works. As for the coupling with Syrthes, I have to try first with basic test cases as I've never used it.

Regards,

Alicia]]>Other FE & CFD codesTue, 01 Jun 2010 09:14:07 +0000Use of Radiative transfer module in code saturne - by: Aliciahttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4068-use-of-radiative-transfer-module-in-code-saturne?start=6#4279
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4068-use-of-radiative-transfer-module-in-code-saturne?start=6#4279
Thank you for your answer. It works perfectly. Actually when I first tried I didn't use the routines usray1.F and usray2.F, I only put the rayopt.f in the user subroutines directory. Using all the routines (usray1.F, usray2.F and rayopt) it works like a charm !!

By the way the version of code saturne I'm using is 1.4.a (I don't know why I thought it was 1.3.3, I wrote it somewhere once but don't know where I found this wrong information !!)

I had a look at the turent subroutine in which the function keendb is defined (as well as the function keenin), and I can adapt them to my cases whenever I need to

Best regards,

Alicia]]>Other FE & CFD codesMon, 03 May 2010 15:57:23 +0000SIGSEGV signal (forbidden memory area access) intercepted ! - by: Yvan Fournierhttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4146-sigsegv-signal-forbidden-memory-area-access-intercepted#4156
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4146-sigsegv-signal-forbidden-memory-area-access-intercepted#4156
To determine where the interior faces of color 7 are, you may run the preprocessor with the --fac-int option (maybe it was -fac-int in version 1.4, I'm not sure).

This option is also available using the GUI as an &quot;interior faces&quot; option in the mesh verification tab if I remember correctly.

Using this, an additional part (or mesh in the MED file) is generated by the Preprocessor in verification mode, and you can use a postprocessor (whether SALOME's VISU or a more powerful tool such as ParaView or VisIt) to see where those faces are.

In any case, I believe I have the explanation for your crash using usdpst.F: line 355, you loop on the number interior faces (NFAC) instead of boundary faces (NFABOR) to build a list of boundary faces. Replacing NFAC with NFABOR here should help.

As for your undefined boundary conditions, listenv.pre seems to indicate that 318 boundary faces of color 7 belong to no named group (family 2). To see where they are, you would need to compare the different areas when postprocessing the Preprocessor verification output, or under SMESH, build a new group containing all boundary faces minus those in other groups to see where they are (in Code_Saturne 2.0, when boundary faces have no boundary condition, a postprocessing output is generated automatically to help locate them, but older versions such as the pre-1.4 in CAELinux only give you a list of face numbers, which is not very useful as the numbering is usually different from the one in the mesh file).

Best regards,

Yvan Fournier]]>Other FE & CFD codesThu, 22 Apr 2010 21:15:37 +0000Unsteady laminar flow around cylinder with CS - by: Aliciahttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4108-unsteady-laminar-flow-around-cylinder-with-cs?start=6#4124
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/4108-unsteady-laminar-flow-around-cylinder-with-cs?start=6#4124
-&gt; What do you mean by &quot;how is the convergence' ? I had a look at the listing file, and for each time step all variables are under the convergence criteria I set in the GUI. The 'derive' column (if I understood well, it's something like a relative variation of the variable between two time steps) is always very low (1e-1 for pressure and around 1e-5 or below for the velocity components).

[/quote]Do you run the simulation long enough for the vortex shredding to appear? The ones in mine don't appear until 20 (video) seconds into the simulation.[/quote]

-&gt; I tried with different number of time steps. I ran a calculation with 3000 time steps, each time step being 0,4 s (so the pysical time at the end of the calculation was 1200s, and I still didn't have any vortex shedding (for this one I was not sure about the initialization, but it shouldn't have such a big impact). The last calculation I ran was for 50 time steps (20s), and the flow didn't show any vortex shedding (for my Re, the period of the shedding is around 10s, so I should have at least one vortex away from the cylinder at 20s, which isn't...).

Thank you again for your answers, it's always helpful !

I will try the code saturne support contact if I really can't come up with something !

In fact I already ran a calculation without the influence of radiative transfer, and I'd like to run one with radiative transfer, to compare both and analyze the effects of radiative transfer.

I tried running exactly the same calculation in both cases, with the same mesh, and one using the radiative transfer (with usray1.F and usray2.F). When running the simulation with radiative transfer, I get the following error message : &quot; connectivite faces-&gt;sommets ou coordonnees noeuds-&gt;sommets ne sont pas fournies&quot;, and the calculation is not run.

So, up to now I have some find of success in getting the basic parameters set by editing the relevant and launching the analysis. The simulation seems to work but stops after one or a few time steps. Significantly less than the NTMABS that I have asked for.

The listing file is uploaded
&gt;here&lt;
and most certainly tells me why, but unfortunately I still have not the full understanding of how the parameters interact.

You may want to try the newest version of the module called
CFDSTUDY
. But it can only work with SALOME 5.1.3 and Code_Saturne 2.0rc1, and we don't provide any binaries (it will be up to you to compile the whole stuff ).

David]]>Other FE & CFD codesSat, 27 Mar 2010 21:41:38 +0000Code_Saturne: Fluid properties - by: David Monforthttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/3848-code-saturne-fluid-properties?start=6#4043
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/3848-code-saturne-fluid-properties?start=6#4043
Standard calculation in Code_Saturne involves incompressible or dilatable flows, but not compressible ones. To be more precise, we solve (in the standard module) the following mass conservation equation:[code:1]div(rho.u) = 0[/code:1]
In your case, you have to use the compressible module, activated by usppmo.

In the &quot;listing&quot; file created in the RESU directory, you get some information about the convergence of the code. At each time step (or at the NTLIS periodicity you specified), the code will write a block &quot;INFORMATION ON CONVERGENCE&quot; with info on each variables, especially:

* N_iter: nb of iterations used to solve the linear system

* Norm. residual: normed residual after solving the linear system (should be lower than EPSILO=1.e-8 which is the criterium for stopping the iterations)

* derive: roughly corresponds to |u(n+1)-u(n)|/|u|

If you increase the verbosity of the code for certain variables, by putting IWARNI(IVAR)=2, 3 or 4 in usini1.f90, you will have much more information, in particular the residuals at each iterations of Jacobi or conjugate gradient.<br /><br />Post edited by: Matthew Bondy, at: 2010/03/29 03:11]]>Other FE & CFD codesSat, 27 Mar 2010 20:05:21 +0000another DEM software - by: Pei-Ying Hsiehhttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/3907-another-dem-software#3907
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/3907-another-dem-software#3907
One more good DEM software: YADE (yade-dem.org)

The problem is that i was not specifying correctly the include and lib folder of mpi.

In my case they were set to /usr/lib/openmpi/include and /usr/lib/openmpi/lib after i ran

update-alternatives --display mpi

followed by

update-alternatives --config mpi

to set my mpi to OpenMPI instead of mpich

I SOLVED IT....

Developers... :

It would be nice if one would not have to compile all the packages of Code saturne with MPI support, ... lots of potential users are not resourceful enough to fix this kind of nitty-witty details, and are precluded from using this wonderful piece of software... this is my opinion...

Is there any report on Benchmarking Code Saturne in comparison to OpenFOAM and Fluent...?

Would be interesting to compare on grounds of Precision, speed of convergence, memory footprint... is there something published out there in the web...?

Thkz

Alex]]>Other FE & CFD codesMon, 17 Aug 2009 19:15:23 +0000tutorial for conjugate heat transfer using Code_Saturn - by: Joël Cugnonihttps://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/3294-tutorial-for-conjugate-heat-transfer-using-code-saturn#3369
https://www.caelinux.com/CMS3/index.php/forum/18-other-fe-a-cfd-codes/3294-tutorial-for-conjugate-heat-transfer-using-code-saturn#3369
just to mention: Saturne, Syrthes and the Syrthes module for Saturne are all included in CAELinux 2009... unfortunatelly, I did not manage to setup a proper coupled case for testing.

As I remember, an important limitation (which seems to have been solved in the latest version) was that while Saturne can work properly with MED meshes from Salome, Syrthes unfortunatelly could only read UNV meshes (from Salome) and used &quot;colors&quot; for group definition... I had to write a small utility to convert groups to colors and then Syrthes could read the mesh properly.

But I did not went much further in testing the Saturne-syrthes coupling ... so any feedback / example is welcome!]]>Other FE & CFD codesMon, 17 Aug 2009 11:04:35 +0000