Encyclopaedia Index

Streamlines in the VR Viewer

In the VR Viewer streamlines are controlled through the Streamline Management Dialog reached by a left clicks on the icon.

Streamlines in PHOTON

STREAM

------------------------------------- Photon Help ----

STR[eam] <dim><plane><number><options>........ the STREAM command plots streamlines either in a 2D plane (2D problems only) or a 3D domain where <dim> is 2D or 3D (the default). For 2D streamlines <plane>, <number>, <subreg> and <options> are specified as for a CONTOURS command. For 3D streamlines, <plane>, <number> and <subreg> specify the plane (or subregion of a plane) from which the streamlines start; <options> are COLOUR, DASH and SHADE.

For example,
STREAM Z 1 SH will plot streamlines in 3D starting from the plane IZ=1, coloured according to velocity from blue (low velocity) to red (high velocity).

For 3D streamlines only, you are asked whether control parameters are to be reset: answer NO for the program to prompt for the number of streamlines to be plotted. Answer YES for the following prompt:
Choose a keyword:
EXIT, QUIT, STEPS, TIME
DOWN, UP, WHOLE, POSITIONS, SUBREGION ->

The meaning of these options is as follows:
EXIT sets the new parameters, leaves the reset mode, and prompts for the number of streamlines.
QUIT retuns to the Command?-> prompt without resetting the parameters.
STEPS is the number of tracking steps plotted for each streamline. (Default=100)
TIME is the non-dimensional time-step for tracking; it is equivalent to the size of tracking steps. (Default=1.0)
DOWN plots streamlines downstream of the starting plane.
UP plots streamlines upstream of the starting plane.
WHOLE plots streamlines up and downstream of the starting plane.
POSITIONS sets the distribution of streamline on the starting plane: there are three options - on a line, on a circle or individual points. (Default is diagonal of starting plane.)
SUBREGION sets the region over which the streamlines are to be plotted. (Default is whole domain.)

To choose an option, enter the appropriate keyword; some will require further input for which a prompt will appear on the screen. Enter EXIT when parameter resetting is completed.

Note: In the current version of PHOTON, the STREAM command should only be used for single phase cases and the 3D streamlines can not be drawn under EXTRAPOLATE.

See also : STREAM CLEAR, STREAM DELETE, STREAM OFF, STREAM ON, STREAM 2DIMENSION, STREAM 3DIMENSION


STREAM 2DIMENSION

------------------------ S Photon Help ----

STR[eam] 2D[imension] <plane><number><subregion>

... draws streamlines over the specified plane for 2 dimensional cases. All the options available with the CONTOURS command, including FILL, can be used. For example,

STR 2D Z 1 SH

will plot streamlines over IZ=1 plane in coloured according to volume flow rate (from blue to red).

Note: This command is only effective in 2-dimensional cases, for 3D cases it has the same effect as STREAM.

See also : STREAM, STREAM 3DIMENSION,CONTOURS


STREAM 3DIMENSION

------------------------ S Photon Help ----

STR[eam] 3D[imension] <plane><number><subregion>

... draws streamlines in multidimensional space starting from the specified plane. This command is equivalent to STREAM.

See also : STREAM, STREAM 2DIMENSION


STREAM CLEAR

------------------------------- Photon Help ----

STR[eam] CL[ear]....deletes all streamline elements, whether switched on or off.

See also : STREAM DELETE, STREAM OFF, STREAM ON


STREAM DELETE

------------------------------ Photon Help ----

STR[eam] DEL[elete]....deletes the last streamline element, whether switched on or off.

See also : STREAM CLEAR, STREAM OFF, STREAM ON


Stream No.

-------------------------------- Photon Help ----

[Stream No.] is the sequence number of the STREAMLINES element in the stack. Typing in any valid number (the total number of STREAMLINES element) will pop up the corresponding STREAMLINES element and make it current. Only the attributes of the current STREAMLINES element can be modified.


STREAM OFF

--------------------------------- Photon Help ----

STR[eam] OF[f] <element range>....switches off the specified streamline element(s). It will not appear in subsequent plots until switched on again.

See also : STREAM ON


STREAM ON

---------------------------------- Photon Help ----

STR[eam] ON <element range>....switches on the specified streamline element(s). It will then appear in subsequent plots.

See also : STREAM OFF


STREAMLINES

-------------------------------- Photon Help ----

[Streamlines] activates the streamline sub-menu to set a new streamline element to be drawn. Better be avoid under EXTRAPOLATE.


STREAMLINE PLOTTING in PHOTON

PHOTON has the ability to plot streamlines (in two-dimensional flows) and tracks of mass-less particles (in 2- or 3-dimensional flows).

For further information: see the entry STREAM in the PHOTON help dictionary.


wbs