CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[waves2Foam] Overtopping functionUtility in waves2Foam

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

LinkBack Thread Tools Search this Thread Display Modes
Old   April 3, 2019, 09:55
Default Overtopping functionUtility in waves2Foam
Akshay Patil
Join Date: Nov 2015
Location: Pune, India
Posts: 35
Rep Power: 10
Akshay_11235 is on a distinguished road
Hello everyone,

I have compiled waves2Foam with OpenFOAM-v1806. The problem that I am facing right now is as follows

In the /applications/utilities/waves2Foam/src/waves2FoamSampling I force it to compile since that is not the default library which will compile. However, it fails to compile. I think I have isolated which part of the code fails to compile, however, I am not sure how to rectify the code so that it would compile.

Problem areas:

I realised that following OpenFOAM-3.0 and so on, there were major changes made to the source code.

For OpenFOAM-v1806 In


there exist

functionObject functionObjectList logFiles regionFunctionObject stateFunctionObject timeControl writeFile

these functionObjects which can be used

While in OpenFOAM-3.0 these are the function objects available in the same location

functionObject functionObjectList OutputFilterFunctionObject
functionObjectFile IOOutputFilter outputFilterOutputControl

In the source code which contains the overtopping functionObject, it calls to include the following files which are a part of the older OpenFOAM-v2.? and 3.0 series.

File - > overtoppingFunctionObject.H

#include "OutputFilterFunctionObject.H"

This functionObject does not exist in OpenFOAM-v1806.

I compared a few files and noticed that, the older files have been redefined and merged into new files.

outputFilterOutputContol.H -> timeControl.H

functionObjectFiles.H -> logFiles.H
outputFilterFunction.H -> stateFunctionObject.H + regionFunctionObject.H

I tried to tweak and accommodate for these changes in the new OpenFOAM installation however it does not work. I also tried to copy the old header files and .C files and that did not work either.

Can someone provide some insight into how to rectify this missing library to compile waves2Foam overtoppingFunctionObject?

Looking forward to your response. Thank You!
Akshay_11235 is offline   Reply With Quote


openfoam-v1806, overtopping, waves2foam

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
[waves2Foam] combined set of waves with waves2Foam blaise OpenFOAM Community Contributions 7 December 16, 2023 08:33
[waves2Foam] Function object to extract overtopping rate - how to use it? hchen OpenFOAM Community Contributions 4 September 10, 2019 02:15
wave overtopping at quay walls revilo1987 FLUENT 4 January 4, 2015 05:38
[waves2Foam] Couple waves2foam with dynamic mesh vasava OpenFOAM Community Contributions 2 April 8, 2014 01:17
Segmentation fault running waveDyMFoam solver (mod. interDyMFoam solver - waves2Foam) Ed R OpenFOAM Running, Solving & CFD 5 July 2, 2013 11:36

All times are GMT -4. The time now is 18:55.