|
[Sponsors] |
[waves2Foam] couple surfaceElevation with interDyMFoam or waveDyMFoam? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 12, 2014, 07:33 |
couple surfaceElevation with interDyMFoam or waveDyMFoam?
|
#1 |
New Member
Jorge Gadelho
Join Date: Feb 2013
Posts: 22
Rep Power: 13 |
Hello Niels,
first of all, sorry for the newbie question, but I don't have the time to explore more and I guess it may help in the future other users. I have OF 2.2.1 with Waves2Foam (probably R1984) working. I need to use the surfaceElevation function with InterDyMFoam. I added this code to the ControlDict file: Code:
libs ( "libwaves2Foam.so" "libwaves2FoamSampling.so" "libOpenFOAM.so" "libincompressibleRASModels.so" "libfvMotionSolvers.so" "libforces.so" ); functions { surfaceElevation { type surfaceElevation; functionObjectLibs ( "libwaves2Foam.so" ); outputControl timeStep; // Alternative: outputTime outputInterval 1; // Additional output controls in waves2Foam // Set outputInterval = 1 and timeStep output control if surfaceSampleDeltaT is used. samplingStartTime 0; surfaceSampleDeltaT 0.025; // Only an approximate output interval! No feedback on deltaT in the simulation setFormat raw; interpolationScheme cellPointFace; fields (alpha1); sets ( gauge0 { type face; axis y; start (0.6 -0.3 0.005); end (0.6 0.2 0.005); nPoints 100; } ); } } Code:
#0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigSegv::sigHandler(int) at ??:? #2 in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::valuePointPatchField<double>::updateCoeffs() at ??:? #4 Foam::GeometricField<double, Foam::pointPatchField, Foam::pointMesh>::GeometricBoundaryField::updateCoeffs() at ??:? #5 Foam::velocityComponentLaplacianFvMotionSolver::solve() at ??:? #6 Foam::motionSolver::newPoints() at ??:? #7 Foam::dynamicMotionSolverFvMesh::update() at ??:? #8 at ??:? #9 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #10 at ??:? thank you! |
|
February 12, 2014, 12:21 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
Hi Jorge,
It will be quite difficult for anyone running in OF2.2.1 to help you as long as you do not deliver a running case. Also note, that I do not have the time to resolve this in the code without an actual solution/understanding of the issue. 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. |
|
February 13, 2014, 05:30 |
|
#3 | |
New Member
Jorge Gadelho
Join Date: Feb 2013
Posts: 22
Rep Power: 13 |
Quote:
my initial question was: if it is possible to couple surfaceElevation with interDyMFoam or waveDyMFoam? I've made several tests, and surfaceElevation only works on static mesh solvers, like waveFoam or interFoam. I don't know if I'm making something wrong. Can you suggest an alternative to read the free surface elevation time series on dynamic mesh solvers? Thank you again, Jorge. |
||
February 13, 2014, 13:07 |
|
#4 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
Hi Jorge,
Yes, I have used the surfaceElevation utility (runTime and post-processing) successfully on moving meshes in 1.6-ext. It should be noted that my motion is vertical, i.e. no change of the location of the grid lines in the hortizontal direction. Good luck, Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
May 14, 2014, 12:53 |
errors when using run -time surfaceElevation function in simulation by interDyMFoam
|
#5 |
New Member
Wang Xiuting
Join Date: May 2014
Location: Tianjin,CHN
Posts: 4
Rep Power: 11 |
I am working on the piston wave generation by modifying the oscillatingDisplacement boundary condition in OF-2.2.0 using interDyMFoam. I want to add the surfaceElevation function into the controlDict in order to get the run-time surface elevation. I do it as the tutorial case waveflume. The error reports that "surfaceElevation is not valid functionObject". But when I run the case waveflume by ./Allrun, it works well. Why? Does the surfaceElevation have some problems with the interDyMFoam solver in OF-2.2.0?
|
|
May 14, 2014, 13:23 |
|
#6 |
New Member
Wang Xiuting
Join Date: May 2014
Location: Tianjin,CHN
Posts: 4
Rep Power: 11 |
Hi Jorge,
I encounter the same problem with you, I want to know whether you have figure it out and i would be very grateful if you can offer some suggestions. Thank you wxtwalkee |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[waves2Foam] waveDyMFoam: doing the modifications manually in interDyMFoam according to waveFoam | PVERMA | OpenFOAM Community Contributions | 0 | December 15, 2017 04:34 |
[waves2Foam] converting interDyMFoam to waveDyMFoam with OpenFOAM 2.1.1 | manoj_nav | OpenFOAM Community Contributions | 2 | June 5, 2014 02:52 |
Segmentation fault running waveDyMFoam solver (mod. interDyMFoam solver - waves2Foam) | Ed R | OpenFOAM Running, Solving & CFD | 5 | July 2, 2013 11:36 |
error using interDyMFoam with kOmegaSST to simulate sloshing | anmartin | OpenFOAM Running, Solving & CFD | 0 | July 20, 2010 13:21 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 04:15 |