Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Waves2Foam compilation in OpenFOAM v2006 #9

@Hydronautica

Description

@Hydronautica

As some instructions to how to install the waves2foam library with OpenFOAM v2006, follow the instructions in the examples directory. The only modifications required are the pre processing setfields files, mainly just supplying the gravity vector.

In the Grid2GridProperties.H, the public properties needs to be changed to:

Grid2GridProperties
(
const Time&,
dictionary&,
vector,
bool
);

And in the Grid2GridProperties.C, in the constructors section, it should read

Grid2GridProperties::Grid2GridProperties
(
const Time& rT,
dictionary& dict,
vector g, // Add this parameter
bool write
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions