CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Waves2Foam help needed, inserting multiple wave probes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2016, 03:48
Default Waves2Foam help needed, inserting multiple wave probes
  #1
Member
 
Chia
Join Date: Jan 2016
Location: Singapore
Posts: 30
Rep Power: 10
chia87 is on a distinguished road
Dear all,

I'm a new user
I'm running a regular waves in a wave tank of 1400m (length)

And I wants to insert multiple wave probes at x = 280m, 560m, 835m, respectively
from y (depth) , -20m to 20m

below is my probeDefinitions

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

surfaceElevationAnyName
{
type waveGauge;

pointDistribution lineDistribution;
N 1;
linestart (835 -20 0);
lineend (835 -20 0);
add ( 0 40 0);
axis y;
stretch 1.;

type waveGauge;

pointDistribution lineDistribution;
N 1;
linestart (580 -20 0);
lineend (580 -20 0);
add ( 0 40 0);
axis y;
stretch 1.;

type waveGauge;
pointDistribution lineDistribution;
N 1;
linestart (280 -20 0);
lineend (280 -20 0);
add ( 0 40 0);
axis y;
stretch 1.;
}


// ************************************************** *********************** //

Below is my surfaceElevationAnyName_sets

sets
(
gauge_0
{
type face;
axis y;
start (280 -20 0);
end (280 20 0);
nPoints 100;
}

gauge_1
{
type face;
axis y;
start (560 -20 0);
end (560 20 0);
nPoints 100;
}

gauge_2
{
type face;
axis y;
start (835 -20 0);
end (835 20 0);
nPoints 100;
}
);

Everytime when I keyed in waveGaugesNProbes , my 'surfaceElevationAnyName_sets' will stated that a change is being made on disk, and when i reload it, it will change back to just a single wave gauge,

I wondered if I made an error anywhere, thanks alot for any kind help

regards,
Chia
chia87 is offline   Reply With Quote

Old   February 10, 2016, 05:15
Default
  #2
Member
 
Chia
Join Date: Jan 2016
Location: Singapore
Posts: 30
Rep Power: 10
chia87 is on a distinguished road
Edit:

I've realised that I should rename the surfaceElevationset for each of the wave probes in 'probes definition' ,

case solved, thanks
chia87 is offline   Reply With Quote

Reply


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 set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 07:09
[waves2Foam] Waves2Foam Related Topics ngj OpenFOAM Community Contributions 660 August 20, 2018 13:39
Waves2Foam usage for 2D wave in 3D domain erncyc OpenFOAM Running, Solving & CFD 0 May 22, 2014 01:31
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 13:21
Help needed with wave simulation Gian, S. CFX 0 October 27, 2006 03:59


All times are GMT -4. The time now is 13:15.