|
[Sponsors] |
[waves2Foam] Building of waveDyMFoam under foam-extend-4.0 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 15, 2018, 07: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, 09: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, 05: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(); |
|
October 18, 2024, 02:25 |
install wave2foam in foam-extend-4.0 error
|
#4 |
New Member
haozhibin
Join Date: Oct 2024
Posts: 3
Rep Power: 2 |
When I install wave2foam in foam-extend-4.0, there are the following errors, please teacher, how can I solve ? Thank you teacher for answering.
/usr/bin/ld: 找不到 -lwaves2Foam collect2: error: ld returned 1 exit status /home/hzb/foam/foam-extend-4.0/wmake/Makefile:159: recipe for target '/home/hzb/foam/hzb-4.0/applications/bin/linux64GccDPOpt/setWaveField' failed make[1]: *** [/home/hzb/foam/hzb-4.0/applications/bin/linux64GccDPOpt/setWaveField] Error 1 /home/hzb/foam/foam-extend-4.0/wmake/MakefileApps:39: recipe for target 'setWaveField' failed make: *** [setWaveField] Error 2 make: 由于错误目标“application”并未重新制作。 ===================================== COMPILE BREEDER ===================================== Nothing available for compilation in the breeder directory. ===================================== COMPILATION DONE ===================================== |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error with reactingFoam | BakedAlmonds | OpenFOAM Running, Solving & CFD | 4 | June 22, 2016 03:21 |
[foam-extend.org] Error compiling OpenFOAM-1.6-ext | Canesin | OpenFOAM Installation | 137 | January 20, 2016 15:56 |
Compilation error OF1.5-dev on Suse10.3 | darenyang | OpenFOAM Installation | 0 | April 29, 2009 05:55 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |