Search found 23 matches

by lehongduc
Tue Sep 27, 2016 10:29 am
Forum: Discussion
Topic: Lagrangian subroutine _where_are_you
Replies: 2
Views: 2791

Lagrangian subroutine _where_are_you

Hello, I'm implementing some new model in CS v4.0.3 and I need to understand the subroutine _where_are_you which is founded in cs_lagr_tracking.c at line 1812. I do understand that this subroutine is used to verify if the particle stay in the cell or move to the next cell though a face. But what I d...
by lehongduc
Mon Sep 26, 2016 3:12 pm
Forum: code_saturne usage
Topic: Warning: pointer cast involving 64-bit pointed-to type
Replies: 4
Views: 1138

Re: Warning: pointer cast involving 64-bit pointed-to type

Hello,

Thanks for yours answers, it ensure me about my calculation.

Regard,
LE Hong Duc
by lehongduc
Mon Sep 26, 2016 8:38 am
Forum: code_saturne usage
Topic: Warning: pointer cast involving 64-bit pointed-to type
Replies: 4
Views: 1138

Re: Warning: pointer cast involving 64-bit pointed-to type

Dear Yvan,

I send you my compile.log of one of my test case. To have this warning, I just copy the file cs_lagr_tracking.c and cs_lagr_tracking.h to my /SRC (without modification).

Regard,
LE Hong Duc
by lehongduc
Fri Sep 23, 2016 2:53 pm
Forum: code_saturne usage
Topic: Warning: pointer cast involving 64-bit pointed-to type
Replies: 4
Views: 1138

Warning: pointer cast involving 64-bit pointed-to type

Hello, I'm using CS v 4.0.3 on linux x64 bit. When I copy any source term written in c (*.c) in my SRC, and I start my calculation, I got warning in compile.log: ... warning #2312: pointer cast involving 64-bit pointed-to type ... Do you have any idea to fix this warning? (the calculation run fine b...
by lehongduc
Tue Jan 26, 2016 2:53 pm
Forum: code_saturne usage
Topic: Post processing of particle relaxation time
Replies: 1
Views: 747

Re: Post processing of particle relaxation time

Hello, I founded the answers myself: I used uslag1.f90 to add statistical variable in post processing, then call the subroutine "uslatp" in subroutine "uslast" in cs_user_particle_tracking.f90 to calculate the cumulation of my statiscal variable . Finally, I used uslaen.f90 to calculate the final st...
by lehongduc
Thu Jan 21, 2016 4:37 pm
Forum: code_saturne usage
Topic: Post processing of particle relaxation time
Replies: 1
Views: 747

Post processing of particle relaxation time

Hello, I'm using CSv4.0. I used subroutine "uslatp" to modify the drag coefficient and then the particle relaxation time "taup". I would like to visualize "taup" in post-processing on Eulerian mesh as a volume statistical variables. Is it possible? For me, I should set "nvlsts = 1" in uslag1.f90 but...
by lehongduc
Fri Nov 20, 2015 9:41 am
Forum: Discussion
Topic: Particle dispersion model of Code_Saturne
Replies: 4
Views: 5231

Re: Particle dispersion model of Code_Saturne

Hello,

Thanks you for yours answers. The references are very interesting for my work.

Best regard,
LE Hong Duc
by lehongduc
Tue Nov 03, 2015 12:02 pm
Forum: Discussion
Topic: Particle dispersion model of Code_Saturne
Replies: 4
Views: 5231

Re: Particle dispersion model of Code_Saturne

Hello all,

I'm still looking for the answers of my question which was: Which is the theoretical model of particle turbulent dispersion if I activate IDISTU = 1 in uslag1.f90? I cound'nt find the answers in theory guild of CSv4.0.

Thanks you for your help.
Best regard
LE Hong Duc
by lehongduc
Wed Oct 28, 2015 9:53 am
Forum: code_saturne usage
Topic: How to add source code written in c++
Replies: 5
Views: 1341

How to add source code written in c++

Hello all, I'm using CSv4.0. I has a vey basic question i think. I would like to use the cs_user_postprocess.c instead of GUI. When I copy the source code cs_user_postprocess.c from /SRC/REFERENCE/ to /SRC, should I also looking for all the "local headers" in cs_user_postprocess.c and put it in the ...
by lehongduc
Fri Aug 21, 2015 8:45 am
Forum: code_saturne usage
Topic: Post-traitment with groups of particles.
Replies: 5
Views: 1041

Re: Post-traitment with groups of particles.

Hello, Im using Paraview4.3.1. I checked that the Par_vel_group__1 is a scalar and not a vector (I see that all the statistic variable of particulate phase on Eulerian mesh is a scalar). For more informations, all the scalar that I obtained related to particulate phases are: - Part_vol_grp__1 (Volum...