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

SonicFoam 141dev changes what do they mean

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 30, 2007, 16:55
Default Hi all, As I'm learning a
  #1
Senior Member
 
Michael Jaworski
Join Date: Mar 2009
Location: Champaign, IL, USA
Posts: 126
Rep Power: 8
mike_jaworski is on a distinguished road
Hi all,
As I'm learning a lot of stuff lately, I hope you'll have some patience with me on this.

I have gotten the 1.4.1-dev version install on my machine and was going through the different solvers making sure they all worked. I ran across a problem with sonicFoam which I managed to fix, but I don't understand and it's the understanding which I would like.

When running the tutorial case, forwardStep, I would get the following error:
***************************************
--> FOAM FATAL IO ERROR : keyword laplacian((rho*(1|A(U))),p) is undefined in dictionary "/<path>/system/fvSchemes::laplacianSchemes"

file: /<path>/system/fvSchemes::laplacianSchemes from line 47 to line 50.

From function dictionary::lookupEntry(const word& keyword) const in file db/dictionary/dictionary.C at line 154

FOAM exiting
********************************

Now, I fixed it by changing the fvSchemes file to include:

laplacianSchemes
{
default Gauss linear corrected; \\ was none
laplacian(mu, U) Gauss linear corrected;
laplacian(mu, e) Gauss linear corrected;
laplacian((rho*(1.0|A(U))),p) Gauss linear corrected;
}

Now, this worked, but originally I had figured that the problem lay in last laplacian((rho*...) term. Looking in the source code for sonicFoam.C, I found a laplacian term for a (rho*rUA, p), but none for this weird 1.0|A(U) thing.

So my questions are these:
what does laplacian((rho*(1.0|A(U))), p) mean since I don't know what the pipe (|) command does and it doesn't seem to be in the manual (or I'm not looking for it correctly) and, bigger picture, what does this mean for the solver/future solvers. When I attempted to change the laplacian in fvSchemes to (rho*rUA, p) it didn't work, but this is the term in the source code.

So, if someone can help my confusion, I'd greatly appreciate it.

Regards,
Mike J.
mike_jaworski 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
OscillatingFixedValue in OpenFOAM 141dev mathieu OpenFOAM Bugs 23 April 28, 2009 19:52
OscillatingFixedValue in OpenFOAM 141dev mathieu OpenFOAM Bugs 0 September 9, 2008 17:50
141dev svn repository egp OpenFOAM Installation 1 August 25, 2008 16:10
SonicFoam stvtiegh OpenFOAM Running, Solving & CFD 1 June 26, 2008 09:30
Help me with sonicFoam marcelo OpenFOAM Running, Solving & CFD 6 December 10, 2005 03:57


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