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, 06: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, 8 views)
blaise is offline   Reply With Quote

Old   January 15, 2018, 08: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, 27 views)
blaise is offline   Reply With Quote

Old   March 11, 2024, 04: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

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 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


All times are GMT -4. The time now is 12:27.