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

[waves2Foam] Coupling OCW3D with wave2foam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2022, 11:16
Default Coupling OCW3D with wave2foam
  #1
New Member
 
David Pavilons
Join Date: Apr 2022
Posts: 2
Rep Power: 0
Poefke is on a distinguished road
Dear Openfoam users,

I had a question about the Openfoam oceanwave3D coupling. First some background information! I'm currently doing my thesis on wave breaking in wave2Foam coupled with oceanwave3D. So my work procedure is as follows:

-> Generate 3-hour design storm in OCW3D
-> Analyse data and select wave at certain time
-> create new folder and copy oceanwave3D.input to that folder
-> Create domain and input parameters wave2foam, for example
time is between 8500s ~ 8600s and external sourcing OCW3D
-> run wave2foam with blockMesh -> setwaveField

Now openfoam runs OCW3D first to set the wave field at 8500 s as first input step for wave2Foam by writing an oceanwave3D.end file combined with the fortran files (fortran.000936 for example). After these are generated the following commands are done to run the simulation:

->relaxationZoneLayout -> waveFoam
-> analyse data.

The problem lies in the fact that it takes quite some time to run OCW3D to get to 8500 seconds and OCW3D only writes and oceanwave3D.end file for the last time step but i need the end file to be at time step 8500 seconds so i can do a hot start and don't have to do the OCW3D simulation all over again. Openfoam is able to write hotstart files from OCW3D as can be seen from the manual:

4.3.3.1 Output
The output from OceanWave3D consists of three elements:

* Kinematics* and *.fort files. The output in these files cannot be used, because the time
stepping is controlled by OpenFoam, hence the time stamps on these files are wrong.

* waveGauges.dat contains ASCII-formatted wave gauge data, which comes in the same
format as that for the standard surfaceElevation data in waves2Foam. The time stamp is
correct.

* Hot-start files are written in synchronisation with the OpenFoam results. The files are outputted
to the folder <casePath>/OCW3Dhotstart. The naming convection is OceanWave3D.-
<timeIndex>, where <timeIndex> is the time index in the OpenFoam simulation. This
index can be retrieved in the file <timeName>/uniform/time.


Is there a way to get a hotstart file at for example 8500 s? as openfoam is able to do it in some way or could i convert a fortran file into a .end file?

Thanks for reading and I hope someone can answer my question!

Greetings, David
Poefke 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
How to continue calculation in ANSYS Workbench with System Coupling after unsave WangYihuHRB Fluent Multiphase 0 March 30, 2021 11:50
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
one/two way coupling of DPM Angela FLUENT 3 April 28, 2008 10:29


All times are GMT -4. The time now is 06:54.