Search found 149 matches

by daniele
Wed Apr 12, 2017 3:16 pm
Forum: code_saturne usage
Topic: import multi domain mesh
Replies: 4
Views: 3071

Re: import multi domain mesh

Still one problem...
What is the standard way to treat internal boundaries between sub-domains?
A wall is placed on all internal interfaces, instead of an internal fluid surface.

Thanks in advance.

Best regards,

daniele
by daniele
Wed Apr 12, 2017 12:25 pm
Forum: code_saturne usage
Topic: call temperature when solving enthalpy thermal scalar
Replies: 18
Views: 10799

Re: call temperature when solving enthalpy thermal scalar

Hello, The density definition as a function of temperature is ok now. But I still miss the way to visualize the temperature through a user defined new field. I created a new field through the field_create(...) in the cs_user_parameter routine, and I can see it in the setup.log. But what is the funct...
by daniele
Wed Apr 12, 2017 12:16 pm
Forum: code_saturne usage
Topic: import multi domain mesh
Replies: 4
Views: 3071

Re: import multi domain mesh

Thanks Yvan,

I used the "zone" option and not the "section" one in the "add cell groups"...
It is ok now.

Thanks a lot.

Best regards,

Daniele
by daniele
Tue Apr 11, 2017 2:05 pm
Forum: code_saturne usage
Topic: import multi domain mesh
Replies: 4
Views: 3071

import multi domain mesh

Dear all, I have a .cgns meshing file, created with Ansys Meshing. I cannot find the way of making Saturne recongnize the different subdomains defined (volumes defined with different names) in the original file. All defined boundary faces (and the internal faces between domains) are well recognized ...
by daniele
Mon Mar 06, 2017 10:25 am
Forum: code_saturne usage
Topic: call temperature when solving enthalpy thermal scalar
Replies: 18
Views: 10799

Re: call temperature when solving enthalpy thermal scalar

Hello,

You can find in the attachement the way I wrote the subroutine and I call the usthht.

Thanks a lot in advance.

Best regards,

daniele
by daniele
Thu Feb 23, 2017 2:23 pm
Forum: code_saturne usage
Topic: call temperature when solving enthalpy thermal scalar
Replies: 18
Views: 10799

Re: call temperature when solving enthalpy thermal scalar

Dear Yvan, Thank you for your help. I followed your suggestion of calling the usthht.f90 inside the cs_user_physical_properties.f90. I have an error at the first iteration: SIGSEGV signal (forbidden memory area access) intercepted! Call stack: 1: 0x401421 <usthht_+0x5> (cs_solver) 2: 0x401524 <usphy...
by daniele
Wed Feb 22, 2017 4:04 pm
Forum: code_saturne usage
Topic: call temperature when solving enthalpy thermal scalar
Replies: 18
Views: 10799

call temperature when solving enthalpy thermal scalar

Hello, I am solving the enthalpy as thermal scalar. Temperature is provided through the usthht.f90 routine. I am using the cs_user_physical_properties.f90 to define the density, and I would like to use the temperature to calculate the density. My question is: how do I call the temperature "scal...
by daniele
Tue Feb 21, 2017 11:28 am
Forum: code_saturne usage
Topic: user routines not read
Replies: 2
Views: 2694

Re: user routines not read

Dear Yvan,

Thanks a lot for your help, it was definitely a problem of wrong version routine.
It works fine now.

Best regards,

Daniele
by daniele
Fri Feb 17, 2017 12:12 pm
Forum: code_saturne usage
Topic: user routines not read
Replies: 2
Views: 2694

user routines not read

Hello, I use the cs_user_physical_properties.f90 with v4.3. I have just tried to fix a constant density value to see if the routine is accessed by the code. The file is placed in the SRC directory, and is compiled correctly. Actually the fixed density value is not taken into account by the code, but...