Hi,
I am trying to validate a different AFM in version 6. To do that I changed coefficients xiafm, etaafm, cthafm in the subroutine cs_turboulence_model.c, please find it attached.
That works in code_saturne_4 but in code_saturne_6 I got errors in compile stage, please find it in compile.log.
Is there for version 6 a different cs_turbulence_model.c that I am not able to find it or in the new version something works differently?
Best regards,
Marco
AFM
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
AFM
- Attachments
-
- compile.log
- (12.28 KiB) Downloaded 261 times
-
- cs_turbulence_model.c
- (31.94 KiB) Downloaded 257 times
-
- Posts: 4206
- Joined: Mon Feb 20, 2012 3:25 pm
Re: AFM
Hello,
Yes, using a modified non-user file such as cs_turbulence_model.c from one version to another has about a 0.2% chance of working, and is definitely not recommended, so what you need to do is apply the changes to a version of the file based on version 6.0. If you work directly on a git checkout is is easy because you can merge a change from one branch to another or use "git format-patch" to extract a diff and "git am" to apply it to another branch or even clone.
Best regards,
Yvan
Yes, using a modified non-user file such as cs_turbulence_model.c from one version to another has about a 0.2% chance of working, and is definitely not recommended, so what you need to do is apply the changes to a version of the file based on version 6.0. If you work directly on a git checkout is is easy because you can merge a change from one branch to another or use "git format-patch" to extract a diff and "git am" to apply it to another branch or even clone.
Best regards,
Yvan