CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[waves2Foam] confusions about the term 'initializationName' suggested in waveProperties.input.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 18, 2014, 21:09
Default confusions about the term 'initializationName' suggested in waveProperties.input.
  #1
New Member
 
yalong cai
Join Date: Feb 2014
Location: New York
Posts: 13
Rep Power: 12
pizicai is on a distinguished road
Hello, Niels,

I have some confusions about the term 'initializationName' suggested in waveProperties.input.
this term appears twice in openfoamWiki
1. The entry initializationName in waveProperties defines which sub-dictionary is used for initialising the wave field.
2. //Used by setWaveField and it is the sub-dictionary,
// which defines which wave theory to be used for initialization


what confuses me is why the term 'initializationName' is set to 'outlet' in each 'waveProperties.input' file rather than 'inlet'. actually, after I change it to 'inlet'
error comes out:

FOAM Warning :
From function setWaveField::setWaveField( const fvMesh& mesh, volVectorField& U, volScalarField& alpha, volScalarField& p)
in file preProcessing/setWaveField/setWaveField.C at line 77

The specified value of Tsoft is non-zero in the waveType: `stokesFirst'
specified in the sub-dictionary waveProperties::inletCoeffs

Consequently, the initialised `wave field' is set to a horizontal free surface with zero velocity.

thanks for your attention.
pizicai is offline   Reply With Quote

Old   June 21, 2014, 05:57
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Good morning,

@Yalong: The program does the right thing. The choice of using the outlet for initialisation is merely random. When Tsoft > 0 it does not matter. If is only if you want a non-flat initial field that you have to think about the zone to use and the magnitude of Tsoft.

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.

Last edited by wyldckat; October 8, 2018 at 10:26. Reason: removed answer to another post that was on the main thread
ngj 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
momentum source term zwdi FLUENT 14 June 27, 2017 15:40
How does fluent discretize the viscous term? motorbean FLUENT 3 August 25, 2015 16:38
Smagorinsky term in SGS kinetic energy equation Ivan Main CFD Forum 3 January 21, 2013 15:22
Source Term Question Blackhawks84 Fluent UDF and Scheme Programming 1 July 31, 2012 15:44
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45


All times are GMT -4. The time now is 07:56.