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

Blog Entries

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

Old

How to solve this

Posted February 23, 2017 at 04:20 by kindle

Quote:
Originally Posted by dbxmcf View Post
Hi, all:

I intended to specify a volScalarField p with boundaryField and internal Field specified by another function call instead of read from case file on hard drive, e.g. cavity/0/p, and in the creatFields.H for icoFoam.C I found the p was constructed using the following:
//-------------------------------------
volScalarField p
(
IOobject
(
"p",
runTime.timeName(),
mesh,
IOobject::MUST_READ,
...
New Member
Posted in programming
Views 1019 Comments 0 kindle is offline Edit Tags
Old

How to solve this : openfoam define a zero value volscalarfield

Posted February 23, 2017 at 04:18 by kindle

Quote:
Originally Posted by LUIS1717 View Post
Hi everyone,

I'm trying to program a solver and its need a volscalarfield that initially must be zero everywhere in the mesh and I don't want to read it from any initial condition or to write it down. Anyone know how to do it?

thanks in advance Luis
ddddddddddddddddddddddddddddddddddddd
New Member
Posted in Pre-processing
Views 1025 Comments 0 kindle is offline Edit Tags
Old

Incompressible LES tutorial (oodles) - time averaged statistics

Posted February 23, 2017 at 04:18 by kindle

ggggggggggggggggggggggggggggggg
Quote:
Originally Posted by bernarde View Post
Good day

I have completed the Incompressible LES tutorial (oodles pitzDaily). Viewing the results in paraFoam gives me the field values at discrete time steps throughout the simulation.

However, I would like to view the average over say the last 100 steps, to view the statistics of the solution. Is there a way I can do this in paraFoam?

Also, how is convergence judged in this example? Normally I judge conversion in a
...
New Member
Posted in Post-processing
Views 776 Comments 0 kindle is offline Edit Tags
Old

Pressure units in incompressible solvers

Posted February 23, 2017 at 04:17 by kindle

Quote:
Originally Posted by Per View Post
Hi


I am quite new to OpenFOAM, and have some basic questions about units. From the tutorial cases I see that the units for pressure in incompressible solvers (e.g. simpleFoam) are m^2/s^2. Which make sense since pressure is constant. I guess I then have to scale (divide) my pressure initial and boundary conditions with rho in order to get a correct solution? My real question is: can I define my pressure units to be kg/ms^2 and define density rho in the transportProperties file
...
New Member
Posted in Uncategorized
Views 646 Comments 0 kindle is offline Edit Tags
Old

non-uniform boundray condition - solution parabolicVelocityFvPatchV ectorField

Posted February 23, 2017 at 04:16 by kindle
Updated June 7, 2017 at 13:19 by kindle

From

http://www.tfd.chalmers.se/~hani/kur...yCondition.pdf

https://sourceforge.net/p/openfoam-e...bolicVelocity/

Compile the shared object (library) and add
Quote:
libs ("libmyBCs.so");
to system/controlDict

it will be linked ONLY at run time by LD_LIBRARY_PATH. It is linked using...
New Member
Posted in programming
Views 669 Comments 0 kindle is offline Edit Tags

All times are GMT -4. The time now is 08:36.