Hello,
Can you post the whole code instead of just small pieces of it ?
Regards,
Yvan
[SOLVED] Problème calcul with cs_user_extra_operation
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
-
- Posts: 22
- Joined: Wed Dec 11, 2013 6:15 pm
Re: Problème calcul with cs_user_extra_operation
Hello Yvan,
Please find attached the cs_user_extra_operations.f90 for a simple cases without computation of criteria.
We modified the code and program a ionic conduction module (Electrical Double Layer Effect), the scalar ipproc(iqelec) is calculated in this module and represent the space charge density at the interface solid/liquid.
icell3 is a color of only one cell close to interface (in medium liquid).
So my question is -> why when I am working with only one procs, I obtain 1.d0 in residu.dat file and 0.d0 with multi procs run ?
Thank you for your help
Regards
Paul
Please find attached the cs_user_extra_operations.f90 for a simple cases without computation of criteria.
We modified the code and program a ionic conduction module (Electrical Double Layer Effect), the scalar ipproc(iqelec) is calculated in this module and represent the space charge density at the interface solid/liquid.
icell3 is a color of only one cell close to interface (in medium liquid).
So my question is -> why when I am working with only one procs, I obtain 1.d0 in residu.dat file and 0.d0 with multi procs run ?
Thank you for your help
Regards
Paul
- Attachments
-
- cs_user_extra_operations.f90
- Cas test simple
- (6.38 KiB) Downloaded 464 times
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Problème calcul with cs_user_extra_operation
Hello,
Why did you remove the call to parsom ? In parallel, you need to call
parsom(residu(ntcabs))
After the loop on selected cells, and before writing the output.
Regards,
Yvan
Why did you remove the call to parsom ? In parallel, you need to call
parsom(residu(ntcabs))
After the loop on selected cells, and before writing the output.
Regards,
Yvan
-
- Posts: 22
- Joined: Wed Dec 11, 2013 6:15 pm
Re: Problème calcul with cs_user_extra_operation
Hello,
Thank you very much, does it works now.
I placed the line
where you suggested
Thank you again
Ragards
Paul
Thank you very much, does it works now.
I placed the line
Code: Select all
parsom(residu(ntcabs))
Thank you again
Ragards
Paul