Search found 74 matches

by MartianDuan
Tue Nov 18, 2014 9:33 pm
Forum: code_saturne usage
Topic: Wall shear stress calculation
Replies: 20
Views: 14459

Re: Wall shear stress calculation

Hi Yvan, It doest solved the problem. But how to calculate the averaged wall-shear-stress? What I had now is the instantaneous wall-shear stress. I did added the sum function in the 'clptur.f90', but it dose not work. The lines were like: if(iturb.eq.42.and.idries.eq.0) then tau = romc*uet**2 tau0 =...
by MartianDuan
Sun Nov 16, 2014 11:01 pm
Forum: code_saturne usage
Topic: Wall shear stress calculation
Replies: 20
Views: 14459

Re: Wall shear stress calculation

Hi Yvan, I am trying to use code_saturne 3.0.1/3.0.3 to do parallel the large eddy simulation with WALE SGS model. I need to calculate the wall shear stress as well. My cases were set up by sub-routines. From my research I need to modify a branch sub-routine to get the averaged wall shear stress. My...
by MartianDuan
Sun Nov 16, 2014 10:09 pm
Forum: code_saturne usage
Topic: Some problems on wall shear stress calculation
Replies: 4
Views: 3386

Re: Some problems on wall shear stress calculation

Hi Brian and other developers/users, I generated a cs_user_module file to allocated the the user-defined array 'usertau' and 'userutau'. The following fatal error shown up in the calculation stage. I am using the parallel calculation. Do I need to parapllelize the code? The 'cs_user_module. f90' and...
by MartianDuan
Mon Nov 10, 2014 5:08 pm
Forum: code_saturne usage
Topic: Some problems on wall shear stress calculation
Replies: 4
Views: 3386

Re: Some problems on wall shear stress calculation

Thanks for your suggestions. It solved the compilation issue. I will run a simulation to see whether the subroutine works or not. Best Regards, Yu Hello, 1) I think that you will need to define "nfac" as an integer in the routine cs_user_parameters. 2) In clptur, I searched for "usert...
by MartianDuan
Mon Nov 10, 2014 3:19 pm
Forum: code_saturne usage
Topic: Some problems on wall shear stress calculation
Replies: 4
Views: 3386

Some problems on wall shear stress calculation

Dear developer and users, I am now doing the large eddy simulation by using code_saturne 3.0.1 and 3.0.3. I was trying to develop some subroutines to calculated the wall shear stress and friction velocity. I followed some reply in the post-post 'wall shear stress calculation': http://code-saturne.or...
by MartianDuan
Sun Aug 17, 2014 1:16 am
Forum: code_saturne usage
Topic: A fatal issue on the my simulation
Replies: 0
Views: 32868

A fatal issue on the my simulation

Dear developers and user, I am doing the large simulation of flow in the trapizod channel by using code_saturne3.0.3. I created a single line recycling systemn to generated the turblunce for the rest part of the channel. It works fine for the first 8000 time step. After that it was suffering big pro...
by MartianDuan
Wed Aug 13, 2014 8:49 pm
Forum: code_saturne usage
Topic: How to change the precision level/residual critiria?
Replies: 1
Views: 1314

How to change the precision level/residual critiria?

Dear developers and users,

How to define/change the precision level/residual critiria for each veriable in the subroutine?
It is can be changed in the .xml setting file. but I have no idea about it by using subroutine.

Thanks,

Yu.
by MartianDuan
Tue Aug 12, 2014 11:31 am
Forum: code_saturne usage
Topic: Can the 'ncaptm' be modified?
Replies: 1
Views: 1622

Can the 'ncaptm' be modified?

Dear developer and user,

I am using code_saturne 3.0.*. The number of probes is fixed by ncaptm=100.
But I need more than that. Can I modify it in somewhere?

Thanks in advance,

Yu.
by MartianDuan
Mon Aug 11, 2014 1:39 am
Forum: code_saturne usage
Topic: How to define the expansion coefficient in code saturne?
Replies: 1
Views: 1530

How to define the expansion coefficient in code saturne?

Hi developers and users,

According to the theory book, there is the expansion coeffiecient in the energy equation for the compressible flow.

Do you know where can I define it? And, can you please share some example with me?

Thanks in advance,

Yu.
by MartianDuan
Fri Aug 08, 2014 10:39 am
Forum: code_saturne usage
Topic: Issue on the re-prepeocessing the preprocessed mesh
Replies: 1
Views: 1504

Issue on the re-prepeocessing the preprocessed mesh

Dear developers and users, I am trying to generate a mesh for a long geometry configuration by using a mesh of 1/4 of it. My strategy is translating the original mesh to the required location, generating mesh 2,3,4. Then use the face joining to make them as one. It is required to do the preprocessin...