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

[waves2Foam] Video showing a little example of wave2foam coupled with dynamic mesh motion

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 26, 2012, 02:36
Default Video showing a little example of wave2foam coupled with dynamic mesh motion
  #1
New Member
 
Jordi Muela
Join Date: Mar 2011
Posts: 27
Rep Power: 16
jordi.muela is on a distinguished road
Hi All,

here i share a video showing a little example of wave2foam coupled with dynamic mesh motion. I've modified the waveFlume example:

http://youtu.be/YKbj_7JMRl8

Quote:
Thanks for noting the difference I hope you can benefit from my work!

- Niels
Sure, until now i was working with groovyBC when i need to generate waves, but my principal problem is the wave absortion, and i'm working with a modified version of interDyMFoam where i added a artificial damping coeficient in momentum equation, using a scalar field for act in the zones of interest, i.e. a numerical beach. But the relaxation zones that you implemented seems to work much better, so thank you again.

Jordi.
jordi.muela is offline   Reply With Quote

Old   January 26, 2012, 03:58
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi all

@Jordi: Neat! Is it a free floating object or have you applied mooring lines? You might have noticed, but waves2Foam has already been made ready for a numerical beach; merely two things are missing, namely (i) define the variation(s) of the artificial viscosity and (ii) add the source term in the momentum equation in the solvers. The latter part is really easy, since the needed interface is already in place as can be seen from the wiki. Again it is made with runTime selection in mind.

Kind regards,

Niels

Last edited by wyldckat; November 4, 2018 at 13:40. Reason: removed answer to another post that was on the main thread
ngj is offline   Reply With Quote

Old   January 26, 2012, 04:36
Default
  #3
New Member
 
Jordi Muela
Join Date: Mar 2011
Posts: 27
Rep Power: 16
jordi.muela is on a distinguished road
Hi,

Quote:
Originally Posted by ngj View Post
@Jordi: Neat! Is it a free floating object or have you applied mooring lines? You might have noticed, but waves2Foam has already been made ready for a numerical beach; merely two things are missing, namely (i) define the variation(s) of the artificial viscosity and (ii) add the source term in the momentum equation in the solvers. The latter part is really easy, since the needed interface is already in place as can be seen from the wiki. Again it is made with runTime selection in mind.
I've used a constraint plane XY and moments of inertia very highs in the three axis (that's the reason of the small pitch), to assure the stability in this simulation test.

Last edited by jordi.muela; January 26, 2012 at 05:30.
jordi.muela is offline   Reply With Quote

Old   April 17, 2014, 09:24
Default request for files of the model (Thx)
  #4
New Member
 
yalong cai
Join Date: Feb 2014
Location: New York
Posts: 13
Rep Power: 12
pizicai is on a distinguished road
Quote:
Originally Posted by jordi.muela View Post
Hi All,

here i share a video showing a little example of wave2foam coupled with dynamic mesh motion. I've modified the waveFlume example:

http://youtu.be/YKbj_7JMRl8



Sure, until now i was working with groovyBC when i need to generate waves, but my principal problem is the wave absortion, and i'm working with a modified version of interDyMFoam where i added a artificial damping coeficient in momentum equation, using a scalar field for act in the zones of interest, i.e. a numerical beach. But the relaxation zones that you implemented seems to work much better, so thank you again.

Jordi.

Hi, Jordi,

I downloaded the model files you uploaded on
https://sites.google.com/site/jordim...ic-mesh-motion

however, I can not compile the waveDyMFoam successfully. I am sure i followed the steps suggested in Wiki.

__________________________________________________ _______________________________

SOURCE=waveDyMFoam.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam222/src/transportModels/twoPhaseMixture/lnInclude -I/opt/openfoam222/src/transportModels -I/opt/openfoam222/src/transportModels/incompressible/lnInclude -I/opt/openfoam222/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam222/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam222/src/finiteVolume/lnInclude -I/opt/openfoam222/src/dynamicMesh/lnInclude -I/opt/openfoam222/src/dynamicFvMesh/lnInclude -DOFVERSION=222 -I./../../../src/lnInclude -I/opt/openfoam222/src/meshTools/lnInclude -I/opt/openfoam222/src/fvOptions/lnInclude -I/opt/openfoam222/src/sampling/lnInclude -IlnInclude -I. -I/opt/openfoam222/src/OpenFOAM/lnInclude -I/opt/openfoam222/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/waveDyMFoam.o
waveDyMFoam.C:44:28: fatal error: relaxationZone.H: No such file or directory
compilation terminated.
make: *** [Make/linuxGccDPOpt/waveDyMFoam.o] Error 1


__________________________________________________ _____________________________________



Thanks.

pizicai

Last edited by pizicai; April 17, 2014 at 17:03.
pizicai is offline   Reply With Quote

Reply


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
velocity BC to provide flow rate relative to dynamic mesh motion oschi OpenFOAM Running, Solving & CFD 1 May 21, 2019 04:02
How to ensure good cells with dynamic mesh motion? petr.f. OpenFOAM Running, Solving & CFD 1 December 27, 2016 11:40
Dynamic mesh - exclude mesh motion in bc Tscar OpenFOAM Running, Solving & CFD 0 May 10, 2016 05:14
Turbulent problems during Dynamic Mesh Motion arturojortega FLUENT 2 June 2, 2009 10:33
Automatic Mesh Motion solver michele OpenFOAM Running, Solving & CFD 10 September 26, 2005 08:21


All times are GMT -4. The time now is 21:02.