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

[waves2Foam] Implicit Coupling

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 12, 2014, 11:08
Default Implicit Coupling
  #1
New Member
 
G Grewal
Join Date: Aug 2010
Posts: 6
Rep Power: 16
gsg001 is on a distinguished road
Hi ngj,

After reading H Jasak's document[1] where they have taken waves to foam and implicitly coupled it to navalFoam, I began experimenting if this was possible using waveFoam.

The main difference I found was that they[2] add the following line to UEqn.h
" ==
- alpha1*fvm::Sp(beach.damping(), U)"
while you add relaxation.correct() and interface.correct() to waveFoam.C.

I tried modifying the UEqn.h in wave foam as follows
" ==
- alpha1*fvm::Sp(relaxationZone.targetVelocityField( ), U)"

It spits up "error: expected primary-expression before '.' token." I am guessing the way it is written relaxationZone.H is not callable from within UEqn.H

The reason for trying to modify the solver to implicit is to allow the simulation to run at a Courant No of 25 -100. waves2Foam fails to make the correct wave at higher courant Numbers despite switching courantCorrection ON.

Thanks in advance

[1] http://www.turing-gateway.cam.ac.uk/documents/Jasak.pdf
[2] navalFoamVariant2 https://github.com/Unofficial-Extend...alFoamVariant2
gsg001 is offline   Reply With Quote

Old   November 13, 2014, 03:51
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Good morning,

Note that the version of navalFoam that you are looking at is not with the implicit relaxation zone technique. The approach by Hrv is very different from the simple addition of a numerical beach.

The numerical beach is available in waves2Foam, but it has never been populated with actual functionality. Therefore, it is likely that I will retire it in the future.

You are looking at the right place in the code to obtain the implicit relaxation, but you are not using the right equations. I am not aware, whether these equations have been published by Hrv. I do have a working version of the implicit relaxation, but it will not be coming out any time in the near future.

Furthermore, note that the wave propagation in itself is very diffusive, so it could be that you only gain dissipation of the wave energy by using larger Courant numbers.

Kind regards,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj 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
FSI problem with system coupling: Fail to couple FLUENT sophieUNSW FLUENT 16 October 1, 2020 06:20
Difference between stagger/coupling iteration and coupling step Jiricbeng CFX 1 September 13, 2016 03:37
Coupling time duration, Coupling time steps Jiricbeng CFX 0 April 29, 2015 09:37
Ferziger and Peric method on implicit pressure and velcity coupling Hooman Main CFD Forum 0 July 15, 2010 07:49
one/two way coupling of DPM Angela FLUENT 3 April 28, 2008 10:29


All times are GMT -4. The time now is 14:39.