CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[waves2Foam] Building of waveDyMFoam under foam-extend-4.0

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2018, 07:33
Default Building of waveDyMFoam under foam-extend-4.0
  #1
Member
 
P.A.
Join Date: Mar 2009
Location: Germany
Posts: 83
Rep Power: 17
blaise is on a distinguished road
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.
--
Attached Files
File Type: gz waveDyMFoam_FE400.tar.gz (4.7 KB, 9 views)
blaise is offline   Reply With Quote

Old   January 15, 2018, 09:34
Default Correction in code
  #2
Member
 
P.A.
Join Date: Mar 2009
Location: Germany
Posts: 83
Rep Power: 17
blaise is on a distinguished road
Hello,

this is an update to my previous code alteration. Please consider the previous attachment as obsolete.

Regards,

Pascal.
--
Attached Files
File Type: gz waveDyMFoam_FE400.tar.gz (4.7 KB, 29 views)
blaise is offline   Reply With Quote

Old   March 11, 2024, 05:43
Default
  #3
New Member
 
LIU XIN
Join Date: Jan 2024
Posts: 1
Rep Power: 0
liuxinsan is on a distinguished road
in .c file
maybe u forgot something in the last line

// Close down the external wave forcing in a nice manner
externalWave->close();
liuxinsan is offline   Reply With Quote

Old   October 18, 2024, 02:25
Default install wave2foam in foam-extend-4.0 error
  #4
New Member
 
haozhibin
Join Date: Oct 2024
Posts: 3
Rep Power: 2
Hao Zhibin is on a distinguished road
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
=====================================
Hao Zhibin is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 05:20.