Search found 280 matches

by Luciano Garelli
Thu Nov 03, 2016 1:31 pm
Forum: code_saturne usage
Topic: free surface not moving
Replies: 21
Views: 15401

Re: free surface not moving

Hello Olivier, Please, next time post the updated subroutine Whe you mentioned that you "digging" the alelav.f90, did you debug or printed the values of pimpv(i) for any face??. Because I debugging (printing) the data in alelav.f90 and I don't get any face that satisfied the condition if (...
by Luciano Garelli
Thu Nov 03, 2016 1:20 pm
Forum: code_saturne usage
Topic: Heated square cavity flow Tutorial 3 in Code Saturne 4.0
Replies: 11
Views: 10918

Re: Heated square cavity flow Tutorial 3 in Code Saturne 4.0

Hello, I was checking you case and the problem it is with the value of the air expasion coeff that you compute. With the data that you defined you get a \beta=3.3224e-12 , so something in your formula is wrong. If you set \beta=0.0033 the flow start moving. Also, if you look at the listing file all ...
by Luciano Garelli
Tue Nov 01, 2016 10:34 pm
Forum: code_saturne usage
Topic: free surface not moving
Replies: 21
Views: 15401

Re: free surface not moving

Hello olivier, I was looking at your problem. First of all, I couldn't run but I found some issues in the user subroutine. 1) You have a if (.false.) then before the boundary selection. 2) call getfbr('5', nlelt, lstelt) any of your baundaries has this ('5') indentifier. 3) The axis of your mesh are...
by Luciano Garelli
Tue Nov 01, 2016 10:15 pm
Forum: code_saturne usage
Topic: Heated square cavity flow Tutorial 3 in Code Saturne 4.0
Replies: 11
Views: 10918

Re: Heated square cavity flow Tutorial 3 in Code Saturne 4.0

Hello In CS 4.0.5 you can use the Mathematical Expression Editor for a variable density \rho(T) and write the Boussinesq Model with the correspondig thermal expansion coefficient of the fluid that you want to simulate. The following is an example: #air expansion coefficient (1/K) b=0.00343; #Ref tem...
by Luciano Garelli
Tue Nov 01, 2016 4:10 pm
Forum: Discussion
Topic: Hexa dominant mesh
Replies: 3
Views: 6748

Re: Hexa dominant mesh

Hello Yvan, I have compile the converter and it works. I can convert snappy meshes (with and without boundary layers) to CS, but no all the genereted meshes are valid for CS. Some quality parameters in SHM has to be tunned in order to obtain a valid mesh, but once you get the appropiated parameters ...
by Luciano Garelli
Fri Oct 28, 2016 7:04 pm
Forum: Discussion
Topic: Hexa dominant mesh
Replies: 3
Views: 6748

Re: Hexa dominant mesh

Hello Yvan, I had seen this converter but the last version has 2 years and I thought it wouldn't work, so I write a python script to convert VTKtoMED (polyhedron meshes) but it is not as robust as I want, for some meshes appears negatives volume. I will try to compile the converter and comment the r...
by Luciano Garelli
Thu Oct 27, 2016 5:23 pm
Forum: Discussion
Topic: Hexa dominant mesh
Replies: 3
Views: 6748

Hexa dominant mesh

Hello, I write in this Discussion forum in order to know if any was able to create hexa dominan meshes like that obtained with snappyhexmesh. This kind of meshes are very well suited for finite volume method, getting better convergence, lower diffusion between other benefits. I was doing some resear...
by Luciano Garelli
Mon Sep 19, 2016 1:46 pm
Forum: code_saturne usage
Topic: Retaining mesh groups from cgns file with cs_preprocess
Replies: 7
Views: 4178

Re: Retaining mesh groups from cgns file with cs_preprocess

Hello Oscar, If I'm not misunderstanding your question you can retain the boundaries group through the the GUI of CS. You have to go to the "Mesh" tab In the "Calculation Control" -> "Output Control" section and there you can use the same selection criteria that you use...
by Luciano Garelli
Sat Sep 17, 2016 8:01 pm
Forum: code_saturne usage
Topic: Retaining mesh groups from cgns file with cs_preprocess
Replies: 7
Views: 4178

Re: Retaining mesh groups from cgns file with cs_preprocess

Hello Oscar,

CS by default create the boundary domain with all boundary faces, but you can use the same selection criterion that you use for the BC to write specifics boundaries zones. This is done in the writer of the output control by adding new zones.

I hope that this help you.

Regards,

Luciano
by Luciano Garelli
Tue Aug 23, 2016 11:34 pm
Forum: code_saturne usage
Topic: CS without graphic display
Replies: 4
Views: 3609

Re: CS without graphic display

Hello,

Could you post the case and mesh files in order to check It?

Regards,

Luciano