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

paraview-python

Posted November 9, 2016 at 06:14 by kindle
Updated November 9, 2016 at 10:50 by kindle

Requirement : paraview not the wrapper paraFoam of Openfoam [maybe because it is partially compiled].

1. start paraview
2. tools - start trace
3. openfile (with *.foam)
4. ...
5. save image etc.
6. stop trace and a window will pop out with python script
7. creat pythonScript.py
8. run with pvpython (executable in paraview) or add on first line like #!/opt/ParaView-4.1.0-Linux-64bit/bin/pvpython
9. chmod +x pythonScript.py ; execute pythonScript.py...
New Member
Posted in Post-processing
Views 333 Comments 0 kindle is offline Edit Tags
Old

OpenFOAM-v3.0+ installation in CentOS 6 using Intel compilers

Posted November 6, 2016 at 17:07 by albertsk
Updated November 6, 2016 at 22:24 by albertsk

This post is to show how to compile OpenFOAM-v3.0+ from openfoam.com using Intel compilers in CentOS 6. Most procedures are similar to source-pack compilation of OF using Gcc in Ubuntu (especially 16).

Key procedures include
1. Untar both ThirdParty-v3.0+.tgz and OpenFOAM-v3.0+.tgz.
2. Change the compiler from the default Gcc to Icc in OpenFOAM-v3.0+/etc/bashrc.
3. Set the OF environment
Code:
source  etc/bashrc
4. Open ~/OpenFOAM/OpenFOAM-v3.0+/etc/config/CGAL.sh...
New Member
Posted in Uncategorized
Views 454 Comments 0 albertsk is offline Edit Tags
Old

OpenFOAM-v3.0+ installation in Ubuntu 16.04 LTS

Posted October 30, 2016 at 18:50 by albertsk
Updated November 6, 2016 at 17:12 by albertsk

This blog is to show how to install OpenFOAM-v3.0+ on Ubuntu 16.04 LTS. There are some issues that should be resolved before the installation. So far, default compilers installed in Ubuntu, gcc and openmpi, are used. Compilation of OpenFOAM-v3.0+ using Intel compilers is on-going.

After you unzip the package OpenFOAM-v3.0+.tgz under ~/OpenFOAM, go to the directory
Code:
cd OpenFOAM-v3.0+
open the following file
Code:
emacs src/postProcessing/functionObjects/Allwmake
, and comment out...
New Member
Posted in Uncategorized
Views 478 Comments 0 albertsk is offline Edit Tags
Old

Point data -> Cell data

Posted October 26, 2016 at 10:00 by kindle
Updated November 14, 2016 at 13:33 by kindle

Get cell data from paraview

Quote:
Originally Posted by wyldckat View Post
Greetings Philipp,

Took me a while to think about this, but I believe I know what you're looking for. The steps should be as follows:
  1. Apply the "Slice" filter, along the direction of your original line.
  2. Apply a second "Slice" filter, applied to the first one, along the location of the intended line.
  3. You should now have the same line you originally intended, but with some extra information that the "Plot over
...
New Member
Posted in Post-processing
Views 481 Comments 0 kindle is offline Edit Tags
Old

non-uniform boundray condition - solution dynamicCode

Posted October 25, 2016 at 04:12 by kindle
Updated October 25, 2016 at 04:14 by kindle (::pow give a smile face)

Modifying the file 0/U the /incompressible/icoFoam/cavity tutorial.

FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
movingWall
{
type ...
New Member
Posted in Pre-processing
Views 340 Comments 0 kindle is offline Edit Tags

All times are GMT -4. The time now is 12:05.