CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Uncategorized

Register Blogs Community New Posts Updated Threads Search

Uncategorized Entries with no category
Old

pressure eq. "converges" after few time steps

Posted December 1, 2017 at 06:05 by kindle

Have a thread about simplefoam convergence.

Quote:
Originally Posted by maddalena View Post
thank you, however:

corrected is extra, isn't it?

This will no improve the initial convergence, since the solver will stop when the relTol is 0.05. thus it will not run until 1E-12 but stop at 0.05. And pressure equation will be not converged smoothly, I guess. What are your experience on the subject? What do you mean with not efficient?

Somewhere else it has been suggested to use pressure
...
New Member
Posted in Uncategorized
Views 3411 Comments 0 kindle is offline Edit Tags
Old

write a field in OpenFOAM

Posted October 30, 2017 at 04:01 by kindle

This is a good thread on writing an object


Quote:
Originally Posted by sven82 View Post
hi,

I will write out a variable of my own turb. model,
but its doesn't work.
First of all I define a ScalarField in my Header,

volScalarField hybrid_;

for the next step I edit the code file with a new Object

hybrid_
(
IOobject
(
"hybrid_",
runTime_.timeName(),
...
New Member
Posted in Uncategorized
Views 3045 Comments 0 kindle is offline Edit Tags
Old

Inlet velocity profile for turbulent pipe flow using swak4Foam

Posted September 14, 2017 at 06:29 by kindle

This is for the outer layer PowerLaw

Quote:
Originally Posted by zordiack View Post
Hi, I wanted a fully developed inlet velocity profile for my 3D-case and I decided to implement it using swak4Foam since I couldn't figure out how to do it with native OpenFOAM tools. So, I thought I'd share my solution here since it took me a while to figure it out.

Please note that in my case the inlet pipe centerline run along the y-axis, but it should by easy enough to modify for other cases too. Turbulent velocity profile is calculated
...
New Member
Posted in Uncategorized
Views 1634 Comments 0 kindle is offline Edit Tags
Old

pTraits

Posted September 14, 2017 at 06:05 by kindle

Code:
int(pTraits<arg1>::rank)
just gives flexibility to all types that pTraits wapped. And rank is another static member like "one" and "zero"


Quote:
Originally Posted by openfoammaofnepo View Post
Dear ngj,

Thank you so much. Today I met the pTraits in the turbulentInlet.C again. So I had a look at thread again. The codes are as follows:

Code:
        scalar rmsCorr = sqrt(12*(2*alpha_ - sqr(alpha_)))/alpha_;

        patchField =
            (1 - alpha_)*patchField
...
New Member
Posted in Uncategorized
Views 1661 Comments 0 kindle is offline Edit Tags
Old

Wall function usage

Posted March 31, 2017 at 12:57 by kindle

Still a lot to learn

Quote:
Originally Posted by G_German View Post
Since the documentation on the use of wall functions (or BCs for turbulence models in general) in OpenFOAM is rather small I tried to write up a little summary of what is posted in the internet (for kEpsilon, kOmegaSST & SA).
As this may also be interesting to other people and I would be interested in feedback, please find the summary below:

Basics:
If the grid near the wall is fine enough (~y+<1 everywhere and at least 4-5 nodes
...
New Member
Posted in Uncategorized
Views 676 Comments 0 kindle is offline Edit Tags

All times are GMT -4. The time now is 17:53.