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

How to show the transient case?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 28, 2001, 08:27
Default How to show the transient case?
  #1
H.P.LIU
Guest
 
Posts: n/a
I am using PHOENICS to solve a transient heat transfer and fluid flow equation. After the calculation, I want to present the temperature distribution at different time, i.e. temperature is a function of different time. How can I realize it by using PHOTON or VR VIEWER? Thank you for your kind help!
  Reply With Quote

Old   May 29, 2001, 04:43
Default Re: How to show the transient case?
  #2
Kike
Guest
 
Posts: n/a
Hi, H.P.Liu

There are several ways. First you need to save the information in every time step you want to show after. Phi (or phida) file takes only the resulting flow field ie. at the last time step, so you should activate other procedures.

If your simulations are 2D, then you can use the file "parphi" (or "parada"), otherwise you must use the variable CSG1 at Q1 file.

To use "parphi" (or "parada") file you should put the following line into the Q1 file:

idispa=n

where n is an integer number of time step after which a time specific flow field will be added to "parphi" (or "parada") file.

If you need to run 3D simulations and you will use CSG1 variable, you should insert these lines into the Q1 file

CSG1=A idispa=n

In this case A is a generic name (ATTENTION!! you can only use a single letter for this "name") and n has the same significance as before. As result, for instance, if n=10 you will find the files A10, A20, A30... in the directory from where the execution was launched.

If you are usin PHIDA=T in prefix file then the previus sequence will be as: A10DA, A20DA, A30DA...

Let me know what you have done to save your results and we will continue with the animations.

If you have another way to save your results let me know it, otherwise, launch a new execution with those flags and we will talk here while it is running.

Regards

Kike

  Reply With Quote

Old   May 30, 2001, 05:52
Default Re: How to show the transient case?
  #3
H.P.LIU
Guest
 
Posts: n/a
Thank for your help, I will try to adopt your suggestion for presenting the calculation results.
  Reply With Quote

Old   July 12, 2010, 06:01
Default point history n transient
  #4
New Member
 
sulabh gupta
Join Date: Jul 2010
Posts: 9
Rep Power: 15
sulabh gupta is on a distinguished road
I want to scale up the graph that is shown in the result file of point history...how to do it....because one of my temperature values at probe is coming out to be 10e19 which is absurd plzz help
sulabh gupta is offline   Reply With Quote

Old   July 12, 2010, 09:30
Default
  #5
New Member
 
Gai Abraham
Join Date: Jan 2010
Location: Israel
Posts: 25
Rep Power: 16
ga5aq is on a distinguished road
Send a message via Skype™ to ga5aq
it may be not relevant or maybe yes but one of the phoenics tutorials has it under the Transient Heat Conduction.
where a temperature variation at the end of 10 min. run was sought for.
if you can, then run through the tutorial
otherwise:

in the editor:
set the problem and the domain
in the domain settings
click geometry
on top right toggle from "steady" to "transient"
click "time at end of last step" to eg. 600 s

set the last step number to eg. 120

(this will produce time steps of 5 seconds each)


then you must "activate solution for variables" by going to Models,
solution for velocities and pressure" OFF
"energy equation" select TEMPERATURE as energy formulation
set turbulence model to "laminar"

and from there you have to set the material properties of the object,

SET THE INITIAL TEMPERATURE :
set the initial FIINIT value for TEM1 to eg. 10

Finally set the number of iterations

and most important of all, set the output parametres:
Output, Settings, (next to field dumping)
intermediate field dump frequency =1 and leave the other settings in their default


This will instruct the EARTH solver to create a special output file, in which the Z axis is TIME and each Z plane is the x-y solution at that time.

hope this helps as well
cheers
g.
ga5aq is offline   Reply With Quote

Old   July 12, 2010, 09:43
Default
  #6
New Member
 
Gai Abraham
Join Date: Jan 2010
Location: Israel
Posts: 25
Rep Power: 16
ga5aq is on a distinguished road
Send a message via Skype™ to ga5aq
then you create a temperature probe by creating a new object, and the type is Point histor

then you have to run the solver

in the post processor
you go "use intermediate step files" YES
you go to settings, editor parametres
set z scale to eg. 0.00008
increments in x,y,z 0.000001 otherwise the probe will move too far for each click on the probe position button
select temperature as the plotting variable
turn contours to ON

Note:
Z axis represents TIME not distance
and contours in the z plane show temperatur distribution at A POINT IN TIME , not distance

Contours in Y plane show time variations, at particular y locations and the same is for x


DOUBLE CLICK ON THE PROBE OBJECT
OPTIONS ->SHOW RESULTS


AND THE TIME HISTORY OF TEMPERATURE WILL BE DISPLAYED


ISN'T THAT NICE?
g
ga5aq is offline   Reply With Quote

Old   July 13, 2010, 04:21
Default
  #7
New Member
 
sulabh gupta
Join Date: Jul 2010
Posts: 9
Rep Power: 15
sulabh gupta is on a distinguished road
but how to limit temperature from shooting up ....how to change the graph settings....plz also help with the Tcell value ...thx a lot for replying
sulabh gupta is offline   Reply With Quote

Old   July 13, 2010, 04:31
Default
  #8
New Member
 
Gai Abraham
Join Date: Jan 2010
Location: Israel
Posts: 25
Rep Power: 16
ga5aq is on a distinguished road
Send a message via Skype™ to ga5aq
do you have the 2008 phoenics software?
if so I suggest to run the tutorial (this is what I did for teaching myself phoenics) Transient heat conduction in a bar

here it is
WORKSHOP - Transient Heat Conduction WORKSHOP - Transient Heat Conduction

The workshop is concerned with the prediction of the transient temperature distribution in a metal bar, heated at one end.
The bar is 0.1m long, 0.01m high and 0.005m thick. It is made of steel, and one end is held at a constant temperature of 100 oC. All the other surfaces are assumed to be adiabatic. The initial temperature is 10 oC.
We require the temperature variation of the other end during a period of 10 minutes.
The simulation is two-dimensional and its geometry is shown below.
The geometry and simulation options are set up using VR Editor, the calculations are performed using the PHOENICS solver, EARTH, and the results are viewed using VR Viewer. Only temperature need be simulated.
We will use the X-Y plane for the calculation.
Accessing PHOENICS-VR.

From the system level:
To enter the PHOENICS-VR environment, click on the PHOENICS icon on the desktop, or click on Start, programs, PHOENICS, PHOENICS.
From the commander level:
To enter the PHOENICS-VR environment, click on the 'Run vre' icon in the left column.
In PHOENICS-VR environment,
Start with an 'empty' case - click on 'File' then on 'Start New Case', then on 'Core', then click on 'OK'; to confirm the resetting.
To enter VR Editor:
This is the default mode of operation.
Base case - uniform properties

Within VR Editor.

Set the domain size, grid and time steps:
Click on 'Main Menu' and set the title to 'Transient Heat Conduction
Click on 'Geometry'.
Change the X-Domain Size to 0.1 m.
Change the Y-Domain Size to 0.01 m.
Change the Z-Domain Size to 0.005 m.
Set the number of cells in X to 60.
Set the number of cells in Y to 8.
Leave the number of cells in Z at 1.
Click on 'Steady' to toggle to 'Transient'.
Click on 'Time step settings'.
Set the 'Time at end of last step' to 600s.
Set the 'Last step number' to 120. This will produce time steps of 5s each.
Click 'OK' to close the Time step settings dialog.
Click 'OK' to close the Grid mesh settings dialog.
Activate solution of variables:
Click on 'Models'.
Set 'Solution for velocities and pressure' to OFF
Click on 'energy equation' and select 'Temperature' as energy formulation.
Set 'Turbulence models' to LAMINAR.
Set the material properties:
Click on 'Properties'
Click on the button next to 'The current domain material is:'. Select 'Solids' from the list of material types, then 'Steel' from the list of solids.
Set the Initial temperature:
Click on 'Initialisation'.
Set the FIINIT value for TEM1 to 10.
Set the solution control parameters:
Click on 'Numerics'
Set the Total number of iterations to 50. This is the number of iterations (sweeps) performed on each time step.
Set the output parameters:
Click on 'Output', then on 'Settings' next to Field dumping.
Set the intermediate field dump step frequency to 1. Leave the other settings at their defaults. This will instruct the Earth solver to create a special output file, in which the Z axis is time, and each Z plane is the X-Y solution at that time.
Click on 'Previous panel', 'Top menu' and then on 'OK'.
Click 'Reset' on the Movement control panel, then 'Fit to window' to re-scale the view to fit the geometry.
Use the 'View down' button on the handset to rotate the image so that you are looking at the X-Y plane.

Create the Hot end:
Click on 'Settings', 'New' and 'New Object'.
Change name to HOT.
Click on 'Size' and set SIZE of object as:
Xsize: 0.0
Ysize: 0.01
Zsize: 0.005
Click on 'Place' and set POSITION of object as:
Xpos: 0.0
Ypos: 0.0
Zpos: 0.0
Click on 'General'.
Change the Type to PLATE.
Click on 'Attributes', then on 'Adiabatic'. Select 'Surface temperature' from the list of heat sources. Enter 100 as the Value.
Click on 'OK' to exit the Attributes dialog and on 'OK' to exit the Object specifications Dialogue Box.

Create a temperature probe:
Click on 'Settings', 'New' and 'New Object'.
Change name to PROBE.
Click on 'Size' and Set SIZE of object as:
Xsize: 0.001
Ysize: 0.001
Zsize: 0.005
Click on 'Place' and Set POSITION of object as:
Xpos: 0.09
Ypos: 0.006
Zpos: 0.0
Click on 'General'.
The change the Type to POINT_HISTORY.
Click on 'OK' to exit from the Object Specifications Dialogue Box.

Running the Solver.

In the PHOENICS-VR environment, click on 'Run', 'Solver'(Earth), and click on 'OK' to confirm running Earth.

Using the VR Viewer.

In the PHOENICS-VR environment, click on 'Run', 'Post processor',then GUI Post processor (VR Viewer) Viewer)'. Click 'No' next to 'Use intermediate files' to toggle to 'Yes', then click 'OK' to read the file.
Click on 'Settings', then 'Editor parameters'. Set the Z scale to 0.00008 (remove one zero from the default setting). Set the Snap Size to 0.000001, otherwise the Probe will move too far for each click on the probe position buttons.
Select temperature as the plotting variable, and turn the Contours on.
Note that the Z axis now represents time, not distance.
Contours in the Z plane show the temperature distribution at a point in time.
Contours in the Y plane show time variations at particular Y locations as shown below.
Contours in the X plane show time variations at particular X locations.
Double-click on the probe object, then click on 'Options' and on the 'Show Results' button on the object specifications dialog. The time-history of temperature will be displayed.
Saving the results.

In the PHOENICS-VR environment, click on 'Save as a case', make a new folder called 'HOTBAR' (e.g.) and save as 'CASE1' (e.g.).
Second case - with insulation

We will now create an insulation object at the far end of the bar.
Click on 'Run - Pre processor - GUI Pre processor (VR-Editor)' to return to the Editor.
Create the insulator:
Click on 'Settings', 'New' and 'New Object'.
Change name to HANDLE.
Click on 'Size' and set SIZE of object as:
Xsize: 0.04
Ysize: 0.006
Zsize: 0.005
Click on 'Place' and set POSITION of object as:
Xpos: 0.06
Ypos: 0.0
Zpos: 0.0
Click on 'General'.
The Type is Blockage (default).
Click on 'Attributes', then on 'Other materials'. Select 'Solids', then Epoxy. Click 'OK' to close the Attributes dialog, then 'OK' to close the Object dialog. The geometry is as shown below
Running the Solver.

In the PHOENICS-VR environment, click on 'Run', 'Solver' then 'Local solver(Earth)', and click on 'OK' to confirm running Earth.

Using the VR Viewer.

In the PHOENICS-VR environment, click on 'Run', 'Post processor',then GUI Post processor (VR Viewer) Viewer)'. Click 'No' next to 'Use intermediate files' to toggle to 'Yes', then click 'OK' to read the file.
Click on 'Settings', then 'Editor parameters'. Set the Z scale to 0.00008 (remove one zero from the default setting). Set the Snap Size to 0.000001, otherwise the Probe will move too far for each click on the probe position buttons.
Click on the 'Wireframe toggle' button on the hand-set to switch to wire-frame mode. Contours inside the solid will now be visible.
Contours in the Y plane show time variations at particular Y locations - in this case on the lower surface of the bar.
Note that although the temperature stays lower on the lower surface of the insulated region, it is higher on the upper surface of the bar.
Saving the results.

In the PHOENICS-VR environment, click on 'Save as a case', and save as 'CASE2' (e.g.). in the folder 'HOTBAR' (e.g.)
ga5aq is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Transient Case MAB CFX 7 August 13, 2008 07:52
Residuals for transient case suti FLUENT 0 September 30, 2005 04:31
Transient case cannot convergence? Kevin Siemens 5 August 3, 2005 07:35
UDF about transient case Jason FLUENT 1 May 12, 2004 05:05
Fluidisation transient case Vikas Kumar Main CFD Forum 0 April 24, 2003 03:29


All times are GMT -4. The time now is 19:31.