Age calculation problem #157
Replies: 7 comments 1 reply
-
Hello @bernardombraga. This is Donggyu Kim. Could you check your flow result and mesh? Best Regards Donggyu Kim |
Beta Was this translation helpful? Give feedback.
-
Hello Donggyu Kim, The mesh was created for an old project using Ansys Meshing. I exported it as a .msh file and imported it into Baram: The output of the checkMesh command was recorded in the file below: The mesh seems ok. I also monitored the inlet pressure and the mean velocity to check convergence: The values of the monitors are in good agreement with the result that I obtained in the past using Ansys CFX. The distributions of velocity and eddy velocity (nut) also seem reasonable: That's why I suspected of a numerical issue. Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hello @bernardombraga. Best Regards Donggyu Kim |
Beta Was this translation helpful? Give feedback.
-
Hello @kdg5424, In my first post, I ran age calculations using the BaramFlow GUI (Results -> Reports -> Collateral Fields), so I used the default Baram settings. Since the calculation result was unsatisfactory, I looked for the divScheme used in the fvSchemes dictionary. I don't know how to run NextFOAM on the terminal from Baram installation in Windows. I suppose this requires setting some environment variables and/or folder paths to PATH. Could you instruct me? Then, I calculated age in BaramFlow from the Numerical Calculation tab (Advanced button). This way, the convergence history is shown in the Console: So, I identified the cause of the problem. The solution of the age equation was not converged and the Reports tab doesn't inform that for the user. Finally, I edited the fvSchemes dictionary to use the upwind scheme for age: I can't test the upwind scheme from the Numerical Calculation tab since BaramFlow modifies the fvSchemes dictionary in this case to use the "Gauss linearUpwind momentumReconGrad" scheme. Best regards, |
Beta Was this translation helpful? Give feedback.
-
In another test, I modify the fvSchemes dictionary: And the fvSolution dictionary: |
Beta Was this translation helpful? Give feedback.
-
Hello @bernardombraga.
Well I guess the numerical condition might be the reason. Best regards |
Beta Was this translation helpful? Give feedback.
-
Hello @bernardombraga. I'm very thank you for your suggestion Best Regards Donggyu Kim |
Beta Was this translation helpful? Give feedback.
-
I've tested the new features of Baram 25.1 in Windows 10. I've gotten the age variable after a steady-state solution was obtained for an internal flow problem. However, the result was bad:
![age-2nd-order](https://private-user-images.githubusercontent.com/73315353/411249004-e54bf2f6-3015-44c9-a7f5-12de0907b705.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MzU5NDAsIm5iZiI6MTczOTQzNTY0MCwicGF0aCI6Ii83MzMxNTM1My80MTEyNDkwMDQtZTU0YmYyZjYtMzAxNS00NGM5LWE3ZjUtMTJkZTA5MDdiNzA1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDA4MzQwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkzYTlmNjZiMWU5ODU1NjJhNTEyMWVmMjVkMWEzYWY4YzNjNmExOGYwZTI2ZThkMmFjMTBjYmZmZDA0NTUzYWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.R7QJxDXlM6PiRmw_OsYhGrJ9jp7Tqst5vnhFiykFXyU)
I'm not sure, but I suspect that the problem arises from the use of a non-bounded advection scheme ("Gauss linearUpwind momentumReconGrad"). Since scalars also use the same scheme, their solution may have the same problem.
Beta Was this translation helpful? Give feedback.
All reactions