|
[Sponsors] |
[waves2Foam] Building of waveDyMFoam under foam-extend-4.0 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 15, 2018, 06:33 |
Building of waveDyMFoam under foam-extend-4.0
|
#1 |
Member
P.A.
Join Date: Mar 2009
Location: Germany
Posts: 83
Rep Power: 17 |
Hello all,
I am trying to build waveFoam with dynamic mesh functionality (waveDyMFoam) under foam-extend-4.0. waves2Foam svn checkout is from 2018-01-09). I am following the instructions in Niels manual but I am unsure if I did things right as I am not proficient enough with the theory and the coding in OpenFOAM. As far as I understood things, I had to compare the changes that were applied to interFoam to create waveFoam from it, and incorporate these changes to interDyMFoam. I attach my solution, which compiles without errors. I know that this does not mean the solver will work correctly. Could someone be so kind as to check the modified code and tell me if something is wrong?! I am especially unsure about pEqn.H (treatment of phi and the pimple correction loop). The modifications are marked with "PAmod" and "PAadd" - unfortunately the code does not get more readable by it - apologies! Any hint is appreciated. Thank you very much! Best regards, Pascal. -- |
|
January 15, 2018, 08:34 |
Correction in code
|
#2 |
Member
P.A.
Join Date: Mar 2009
Location: Germany
Posts: 83
Rep Power: 17 |
Hello,
this is an update to my previous code alteration. Please consider the previous attachment as obsolete. Regards, Pascal. -- |
|
March 11, 2024, 04:43 |
|
#3 |
New Member
LIU XIN
Join Date: Jan 2024
Posts: 1
Rep Power: 0 |
in .c file
maybe u forgot something in the last line // Close down the external wave forcing in a nice manner externalWave->close(); |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error with reactingFoam | BakedAlmonds | OpenFOAM Running, Solving & CFD | 4 | June 22, 2016 02:21 |
[foam-extend.org] Error compiling OpenFOAM-1.6-ext | Canesin | OpenFOAM Installation | 137 | January 20, 2016 14:56 |
Compilation error OF1.5-dev on Suse10.3 | darenyang | OpenFOAM Installation | 0 | April 29, 2009 04:55 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 14:00 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 08:19 |