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

Waves2Foam help needed, inserting multiple wave probes

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 10, 2016, 03:48
Default Waves2Foam help needed, inserting multiple wave probes
  #1
New Member
 
Chia
Join Date: Jan 2016
Location: Singapore
Posts: 14
Rep Power: 2
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
New Member
 
Chia
Join Date: Jan 2016
Location: Singapore
Posts: 14
Rep Power: 2
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

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Waves2Foam Related Topics ngj OpenFOAM Running, Solving & CFD 1310 Yesterday 05:10
Waves2Foam usage for 2D wave in 3D domain erncyc OpenFOAM Running, Solving & CFD 0 May 22, 2014 00:31
how to set periodic boundary conditions Ganesh FLUENT 13 January 22, 2014 05:11
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
Help needed with wave simulation Gian, S. CFX 0 October 27, 2006 02:59


All times are GMT -4. The time now is 10:02.