ComputeForces:viscosity
Hi everyone,
I run a case using laminar+SPS and set viscosity as 0.003.
When I used ComputeForces function, at first I wrote the postprocess part in .dat as follows(I didn't specify the viscosity):
set dirout2=%dirout%\forces %computeforces% -dirin %diroutdata% -onlymk:10 -savecsv %dirout2%/_ForcePlane if not "%ERRORLEVEL%" == "0" goto fail
I met a warning which said "Attention: Viscosity was not applied since Visco=0". So I checked the ComputeForces_Help.out and changed my code as:
set dirout2=%dirout%\forces %computeforces% -dirin %diroutdata% -onlymk:10 -viscolam:0.003 -savecsv %dirout2%/_ForcePlane if not "%ERRORLEVEL%" == "0" goto fail
This time I still got the same warning but the numerial result changed. So I wonder
- Is there still something wrong in my code?
- In my first case, is there no viscosity term in force calculation?
Comments
Sorry I made a stupid mistake. Please ignore the question.
use "-viscoauto"
Thanks!@Alex