# Launder-sharma

 Register Blogs Members List Search Today's Posts Mark Forums Read

 September 22, 2006, 10:01 Launder-sharma #1 Paul_fredric Guest   Posts: n/a Hello, I would like to program (Fortran) the launder& sharma model in starcd. Can somebody help me ? which subroutines ? Sorkep and vistur ? All the best

 September 23, 2006, 10:55 Re: Launder-sharma #2 Sheila Guest   Posts: n/a As far as I remeber, I would say you need both. You need sorkep to include the f1, f2 etc in the production terms of k and e. You need vistur to implement the damping function fu in eddy viscosity. Hope that helps.

 September 27, 2006, 02:26 Re: Launder-sharma #3 Paul_fredric Guest   Posts: n/a Thank for your comments. The main problem seems that in tne LS models, there are source terms in the k-e equations with spatial derivation of k and e which are not available in user subroutine commons best

 September 27, 2006, 20:07 Re: Launder-sharma #4 Sheila Guest   Posts: n/a Yes, you would need to calculate those using the various routines to calculate gradients etc... You will need the necessary subroutines allowing you to calculate these. Contacting STAR CD support system should help with those. Here are some to calculate velocity gradient and scalar gradient, CALL VELGRD(UG,GU,S,CX,SB,NFONE,KEY,URO,URSI,VISTG,DENG ,TKG, & VISCLAM,MON,ISTYP) IF(LSWTCH(60))THEN CALL GRSCGT & (FI,10,NBMAX,NCTMAX,DFI,KEY,S,CX,NFONE,SB,MON,ISTY P) ELSEIF(LSWTCH(33))THEN CALL GRADSC(FI,10,NBMAX,NCTMAX,DFI,KEY,S,CX,NFONE,MON) ELSE CALL GRSCL2(10,FI,KEY,NBMAX,NCTMAX,DFI,CX,S,NFONE,MON,I STYP) ENDIF

 October 2, 2006, 04:18 Re: Launder-sharma *NM* #5 Paul_fredric Guest   Posts: n/a

 October 2, 2006, 04:20 Re: Launder-sharma #6 Paul_fredric Guest   Posts: n/a Thank Sheila, You give me some hope, about the possibility to calculate these gradient. Sure I will contact the starcd support and maybe take a user subroutine formation

 October 31, 2006, 06:30 Re: Launder-sharma #7 malika seddik bouchuicha Guest   Posts: n/a hello sir Iam Malika ; I want to know if you can send me some ofdocumentation about (StarCD , )also the VOF method.