Mesh partition and computing geometric quantities

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
fahad
Posts: 26
Joined: Fri Jun 03, 2016 10:42 am

Re: Mesh partition and computing geometric quantities

Post by fahad »

Hi Yvan

I wiped clean my system and installed latest CAELinux2013 which has code saturne v3.1. I still cannot update to code saturne v4 without immense issues. Anyway, its a clean install.

I am running old case with a user subroutine called extra operations to calculate lift and drag coefficients. In previous version, it used to work just fine generating coefficients.dat file.

In this version, it does not create coefficients.dat file but does compile it without errors. I mean compilation is fine (compile.log) but doesn't write any file. I have compared old and new files in reference directory. I did not spot any difference.

Kindly guide. Related files are attached. Thanks
Attachments
20160723-1312.zip
(3.28 MiB) Downloaded 226 times
cs_user_extra_operations.f90
(8.03 KiB) Downloaded 236 times
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: Mesh partition and computing geometric quantities

Post by Yvan Fournier »

Hello,

I do not see any obvious issues in your subroutine, so I do not know why it does not work.

Your XML file seems to indicate you are postprocessing the "efforts" (actually stresses) at the boundary. Do make sure this is the case, to ensure "ineedf = 1".

In any case, 3.0.0 is an obsolete version: the current 3.0 release is 3.0.8, and contains many bug fixes, which might be related or not.

Do you need version 3.0 ? Recent versions of Debian or Ubuntu have versions of 4.0 or 4.2 packaged, which do not require a complex install. CAELinux was very dynamic a few years ago but seems making quite slow progress as a distribution nowadays.

Regards,

Yvan
Post Reply