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

waveTransmissive Boundary condition for rho?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 7, 2014, 23:03
Default waveTransmissive Boundary condition for rho?
  #1
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 156
Rep Power: 17
dancfd is on a distinguished road
Hello Foamers,

I am trying to apply a non-reflective boundary condition to a transonic airfoil case in a C-grid. I figure I could use waveTransmissive on both inlet and outlet boundaries, since the inlet velocity changes angle as a function of time. However, when I run the case I get the following error in decomposePar:

Code:
--> FOAM FATAL IO ERROR: 
wrong token type - expected Scalar, found on line 30 the word 'rho'

file: /home/daniel/OpenFOAM/daniel-2.1.1/run/cases/mccroskey1982/14210_varFS/run1_janaf_wtall/0/rho::boundaryField::(inlet|topAndBottom|outlet)::fieldInf at line 30.

    From function operator>>(Istream&, Scalar&)
    in file lnInclude/Scalar.C at line 91.
My BC for rho is attached. I tried changing "rho" to "1.3" on line 30 (which goes against my understanding of how this boundary condition works), but then I get the following error:

Code:
--> FOAM FATAL IO ERROR: 
wrong token type - expected word, found on line 30 the doubleScalar 1.3

file: /home/daniel/OpenFOAM/daniel-2.1.1/run/cases/mccroskey1982/14210_varFS/run1_janaf_wtall/0/rho::boundaryField::(inlet|topAndBottom|outlet)::rho at line 30.

    From function operator>>(Istream&, word&)
    in file primitives/strings/word/wordIO.C at line 74.
I do not have the same problem for other scalars: p, omega, k, T, mut. Can anyone suggest why it might be happening for rho?

Thanks in advance,

Daniel
Attached Files
File Type: txt rho.txt (1.6 KB, 24 views)
dancfd 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
Domain Imbalance HMR CFX 5 October 10, 2016 06:57
Radiation interface hinca CFX 15 January 26, 2014 18:11
Mixed/Robin boundary condition aaev OpenFOAM Bugs 2 December 15, 2011 15:03
Setting outlet Pressure boundary condition using CAFFA code Mukund Pondkule Main CFD Forum 0 March 16, 2011 04:23
How exactly the "pressure outlet" bdry condition compute properties on the boundary? yating9901 FLUENT 3 June 28, 2010 13:26


All times are GMT -4. The time now is 16:42.