domainIntegrate() vs Sum(...)
Hello all together,
just one question. If I have the following code: Code:
Info << fvc::domainIntegrate(rho); Code:
forAll(rho, cellI) Code:
111 template<class Type> 112 dimensioned<Type> domainIntegrate Tobi |
First idea: gSum supports multi-processor runs. Did you test with a single process?
|
Hi, only on single processor. But maybe I made a mistake because the calculation is exactly the same
|
Greetings to all!
@Tobi: This is one of those situations I feel like complaining that I don't have a crystal ball. My guess is that:
Bruno |
Hi Bruno,
I set the mass_ to zero and I build a new model for shrinkage the mesh due to density changes in casting. I made an error but the calculation what I did is correct! So its solved ... there is no error ! My fault - to tierd all the time and therefor I go to bed now. |
Quote:
Hi Tobi, I have encountered exactly the same problem as this post, Could you please disclose what kind of errors did you make leading the difference between the two approaches? Many thanks! Best regards, Dang. |
Hi Dang,
I am sorry that i did not post the solution to my problem here and based on the fact that it is already 2 years old, I can no remember how I solved it or what I did wrong. Maybe I can check out the old stuff and figure out what I did. |
Quote:
Hi Tobi, I really appreciate if you could check a little bit (if possible), I exhausted on this issue. .. Thanks for your time! Best regards, |
Dear Dang,
I checked my code and the latest developments. Based on the fact that the first shrinkage model (2014) was not really physical, I switched the development line after some discussions with my colleague and there is no code anymore that includes this lines. However, I found some issues in my bitbucket history that are about that problem. Do you have access to that one: https://bitbucket.org/opencast/tscst...-conservation? |
Quote:
Dear Tobi, Thanks a lot for your kind help and time. I tried to access the link, but denied. Is it possible to work around? Thanks! Best regards, |
5 Attachment(s)
Dear Dang,
the problem was not really critical in my case because it was only around 0.3%. See the bitbucket stuff (I added the pictures) because the project is closed (I forgot). |
Quote:
Dear Tobi, Okay, I see. Thanks a lot for your kind help and time. Best regards, Dang. |
All times are GMT -4. The time now is 07:00. |