View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003347 | OpenFOAM | Contribution | public | 2019-09-11 09:31 | 2019-09-11 12:12 |
Reporter | handrake0724 | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | no change required | ||
Product Version | dev | ||||
Summary | 0003347: functionObject calculating wave elevation | ||||
Description | In need of logging wave elevation in two-phase simulation, I made a functionObject for it. this functionObject is based on sampledSets functionObject. Also, I studied surfaceElevation functionObject in waves2Foam. it would be useful if this functionObject be available in the next release. | ||||
Tags | No tags attached. | ||||
|
|
|
How does this differ from the interfaceHeight functionObject we already provide? Class Foam::functionObjects::interfaceHeight Description This function object reports the height of the interface above a set of locations. For each location, it writes the vertical distance of the interface above both the location and the lowest boundary. It also writes the point on the interface from which these heights are computed. It uses an integral approach, so if there are multiple interfaces above or below a location then this method will generate average values. Example of function object specification: \verbatim interfaceHeight1 { type interfaceHeight; libs ("libfieldFunctionObjects.so"); alpha alpha.water; locations ((0 0 0) (10 0 0) (20 0 0)); } \endverbatim Usage \table Property | Description | Required | Default value type | type name | yes | alpha | name of the alpha field | no | alpha locations | list of locations to report the height at | yes | liquid | is the alpha field that of the liquid | no | true \endtable SourceFiles interfaceHeight.C |
|
thank you for the information. I didn't catch up with the changes in functionObjects and it is good to know there is one. interfaceHeight is simpler and easy to use than mine. If I had known earlier, I would not have spent time for it. Anyway, thank for letting me know that again. |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-09-11 09:31 | handrake0724 | New Issue | |
2019-09-11 09:31 | handrake0724 | File Added: waveElevationFunctionObject.tar.gz | |
2019-09-11 09:43 | henry | Note Added: 0010731 | |
2019-09-11 12:09 | handrake0724 | Note Added: 0010732 | |
2019-09-11 12:12 | henry | Assigned To | => henry |
2019-09-11 12:12 | henry | Status | new => closed |
2019-09-11 12:12 | henry | Resolution | open => no change required |