Web directory, archive
Search web-archive-uk.com:

Find domain in archive system:
web-archive-uk.com » UK » C » CHAM.CO.UK

Total: 682

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • PHOENICS User Conference 2000 Proceedings
    DERA 2 PowerPoint Presentation PHOENICS Predictions of Large Amplitude Internal Waves in the Ocean R P Hornby and R J Small DNST Paper DNST PowerPoint Presentation Calculation of Reactor Pressure Vessel Flows using PHOENICS 3 1 A C Thompson and C M Hodge ENIT Paper ENIT PowerPoint Presentation Three Dimensional Hydrodynamic Model coupled with Depth Averaged Two Dimensional Model Case of the Madjerda Cap Bon Water Intake Zouhaier Hafsia et Khlifa Maalel Flowsolve 1 Paper Flowsolve 1 PowerPoint Presentation Reservoir Design Improvement Using CFD David Glynn and Andrew Shilton Flowsolve 2 PowerPoint Presentation Air Flow Analysis in Pharmaceutical Clean Rooms Patrick Phelps and Richard Rowe Flowsolve 3 PowerPoint Presentation Ventilation and Dispersion in CCGT Enclosures Patrick Phelps and Douglas Wylie Greenwich Univ Thermocapillary and Magnetohydrodynamic Effects in Modelling the Thermodynamics of Stationary Welding Processes Michael Hughes Gareth Taylor and Koulis Pericleous Hyundai Prediction of the Ventilation Performance in a Kitchen with Various Locations of Gas Range and Window Myoung Sig Park and Dae Woo Lee Korea Power Enhancement of the Cooling Performance in a Mobile Personal Computer Hong Koo Noh and Seok Hwan Moon LITEC PowerPoint Presentation Modelling the Convective Zone of a Utility Boiler Norberto Fueyo and Antonio Gomez Lloyds Register Paper Lloyds Register PowerPoint Presentation Method for the Three Dimensional Modelling of a Mixed Flow Pump using PHOENICS Dejan Radosavljevic Malaysia Univ The Split of Horizontal Two Phase Flow at a T Junction CFD Study Amir Al Wazzan Mefos Paper Mefos PowerPoint Presentation Investigation on the Convection Pattern of Liquid Steel in the Continuous Casting Tundish by Theoretical Analysis Water Model Experiment and CFD Simulation D Y Sheng and Lage Jonsson MFRDC PowerPoint Presentation MIGAL for PHOENICS 3 3 Michel Ferry Mokpo Univ Finite Element Modelling of GMA Welding Processes Ill Soo Kim Young Jae Jung Joon Sik

    Original URL path: http://www.cham.co.uk/PUC/PUC_Luxembourg/PUC_Contents_List.html (2016-02-15)
    Open archived version from archive

  • pdscnrio.htm
    could relieve them in house consultants who see how much more productive their organisation s designers can become if they use SimScenes devoted to equipment or processes of precisely the kind which concerns them consultancy service providers who have not hitherto found cost effective means of conveying more than a fraction of their knowledge to the industry sector which they serve and university lecturers who wish to teach their students in more comprehensive and comprehensible ways than lectures and textbooks allow as advocated in the publications cited above Such would be SimScene creators need neither profound knowledge of CFD nor the skills of the VR Editor connoisseur They do require some acquaintance with the PHOENICS Input Language and they also need to know something about the behind the scenes workings of PHOENICS Direct The latter is what section 7 is about 5 A typical SimScene TubeFlow One of the first SimScenes was TubeFlow created in 2012 this was designed for persons interested in the steady flow of single phase fluids through tubes of circular cross section Its descriptive document which also contains much about SimScenes in general can be accessed by clicking here 6 How to acquire a SimScene SimScenes are not integral parts of PHOENICS to be supplied to its licensees whenever a new version is issued They are best thought of as being akin to apps to be obtained via whatever means and on whatever terms are offered by their creators At the time of writing all SimScenes have been created by CHAM UK to which a request should be addressed by anyone who wishes to acquire one Those who already possess PHOENICS licences may obtain them at the present time free of charge However they may be supplied to others as stand alone limited capability PHOENICS versions at finite charges which are nevertheless much lower than those of the standard full capability PHOENICS The PHOENICS Direct executable which is needed for all SimScenes and the PQ1 Editor which is needed by all SimScene creators are themselves such apps They are obtainable from CHAM but not necessarily free of charge 7 How to create a SimScene 7 1 General features The scenario and the purpose of the simulation The creator of every SimScene starts by defining the item of equipment or the physical process which is to be simulated An example might be the flow through a bank of finned tubes illustrated below such as are used in many heat exchangers The ultimate reason for creating such a SimScene would be to assist heat exchanger designers to choose tube bank configurations and dimensions which would provide the required heat transfer performance without demanding excessive fluid pumping power Selection of the parameters to be varied In this is example as in most the dimensions can be described by way of numerical parameters including according to the configuration in question tube diameter cross stream ad along stream tube spacing fin outer diameter fin thickness fin spacing angle of spiral and number of tube rows Then the materials must be specified which constitute the tube and fin metals and the within tube and between tube fluids Further scenario defining parameters are the flow rates and theinlet temperatures and pressures of the two fluid streams Defining the quantities to be predicted Also to be enumerated are the desired outputs Heat flux per unit volume and presure drop per unit length will certainly be among them and it may well be decided that users would like to know not only their values for particular input condiitons but also their coefficients of sensitivity to those conditions In addition to numerical output graphical displays by way of graphs contour diagrams and streamline dsplays possibly animated convey valuable information about the simulated equipment or process For example pictures of the following kind provide an insight into the internal workings of a heat exchanger that tables of numbers cannot convey Solution control parameters Although users of SimScenes need no knowledge of CFD some of them surely will possess some knowledge and they may wish to exercise it Therefore menus will usually be supplied with a SimScene which allows users to vary at least a few of the numerical inputs which influence the equation solving process Numbers of grid intervals and of solver cycle iterations are likely to be among these and the SimScene creator may see fit to provide access to many more with of course suitable default settings which the unadventurous user may simply prefer to leave unchanged 7 2 Using a standard format PHOENICS will accept instructions about input solution control and output that have been formulated in many different ways However the tasks both of creating and of using SimScenes are faciitated by adopting a standard format for all with only such omissions and additions as the special cases demand The TubeFlow SimScene can serve as a model Its descriptive document explains that the items to be included in menus can be conveniently presented in ten groups as listed here General Geometry Variables solved Material properties Models Initial conditions Boundary conditions Output Computational grid Numerical TubeFlow itself however has only nine groups initial conditions being absent because only steady flow situations are considered Whereas uniformity of format facilitates human understanding variations for the alleviation of boredom are permissible Greater strictness is desirable however when it is the understanding of computers which is in question as is true of one important aspect of PHOENICS Direct This concerns the way in which new PIL vriables are declared and set in the underlying parameterised Q1 file which has to be identical in content to the scene xml file to be described below which embodies the menus This compatibility can be ensured if the human editor of both files exerts extreme care But if the PQ1 is written in accordance with certain precisely defined rules its compatible scene xml can be produced automatically by the computer Boredom is a small price to pay for such relief 7 3

    Original URL path: http://www.cham.co.uk/phoenics/d_sapps/common/docs/pdscnrio.htm (2016-02-15)
    Open archived version from archive

    purpose PHOENICS based software package is designed to provide an integrated Virtual Reality environment for CFD analysis of airflow heat transfer and contamination distribution for Building Services industry Links TR313 FLAIR User Guide FLAIR Tutorials If you have any questions

    Original URL path: http://www.cham.co.uk/phoenics/d_polis/d_spp/flair/flair.htm (2016-02-15)
    Open archived version from archive

  • HEVACOMP CFD MODULE for Building Services Applications
    CHAM s PHOENICS FLAIR CFD solver The room geometry information including the surface temperatures and convection coefficients together with room objects like diffusers and heat sources is created parametrically in Hevacomp s new Simulation module The complete input file is then passed to the CFD solver provided by CHAM A key issue is the accurate modelling of diffusers and grilles CHAM in co operation with Hevacomp has implemented diffuser objects based on ASHRAE research The new Hevacomp Simulation package enables detailed heat gain simulations with detailed shadow analysis heat loss simulations summertime temperatures including mixed mode ventilation studies overheating frequencies and extensive energy consumption and carbon calculations studies Prices start from 531 per year For further information see Hevacomp Dynamic Simulation Features Hevacomp incorporates a number of air distribution devices with manufacturers data It has an equipment library for localising heat gains as well as a furniture library When a CFD module project file is written by Hevacomp all the boundary conditions are automatically set up as a result of the Design Simulation i e convection coefficients and surface temperature as well as the room surfaces geometry The user does not have to set these manually The simulation engine for both PHOENICS FLAIR and Hevacomp s CFD module is the same The pressure velocity and temperature variables are solved and reported in the same manner Restrictions Whilst the Hevacomp CFD module is a very fast and efficient process for producing the CFD input file the shape and complexity of the room model is defined both the options solely available within Hevacomp s CAD environment as the PHOENICS FLAIR VR Editor pre processor is disabled in this version Similarly Hevacomp s CFD simulations solutions are currently limited to a single room With PHOENICS FLAIR any shape with any complexity can be

    Original URL path: http://www.cham.co.uk/hevacomp/ (2016-02-15)
    Open archived version from archive

  • Features of parallel PHOENICS running
    the budget available and the preferences of your organisation PHOENICS in general and the solver in particular does not require any special graphics capabilities so in chosing a PC we would recommend spending the extra on faster processors and additional RAM Users seem to want to run larger and larger models so it is important to have sufficient RAM available to run these models On a multi core PC with a 32 bit operating system we would recommend having upto two gigabytes of RAM for each processor plus and addition one gigabyte of RAM to handle the operating system If the user has a 64 bit machine and operating system then the user may extend beyond this When a user connects his PCs on the local network he hopes to get accelerations in his calculations using parallel program Often this is the case but sometimes he sees deceleration To understand the reasons for deceleration the user should know something about parallel programming Each parallel CFD program uses decomposition of domain into several sub domains The usual number of sub domains is equal to the number of processors in PC cluster Each sub domain exchanges data with other sub domains If many data items are exchanged then processors will spend much time in exchanging them and useful time for calculations will be very small This situation demonstrates ineffective use of parallel calculations Effective parallel calculations will result when the time of calculations is significantly more than the time of data exchange Hence users should use decompositions which have smaller amount of cells on boundaries Time of data exchange is connected with latency and time for single exchange which are characteristics of the PC cluster Running of parallel PHOENICS has the several features Very popular slab wise solution of hydrodynamics tasks should

    Original URL path: http://www.cham.co.uk/products/parfeatures.php (2016-02-15)
    Open archived version from archive

  • Loading of PHOENICS version 2014 on a PC with Microsoft Windows OS
    3 only and the PATH set appropriately so that mpiexec exe is visible SMPD should also be installed on this computer 6 2 2 Computers on a Cluster When setting up a group of computers to perform as a cluster the computers should belong to the same Workgroup or Domain Details of a computer s domain can be found on the Systems Properties page found by opening the Control Panel on the computer If you need to change the domain settings then you should consult your network administrator The user account that will be used to perform parallel computation across the cluster must be able to make remote connections to all computers in the cluster For this reason it is recommended to use an Administrator account and that this account should have the same password on all computers in the cluster It is a requirement that MPICH2 be installed on each PC in the cluster To install MPICH2 the user will need to be logged in using an account with Administrator permissions This need not be the account on which you run PHOENICS but please note it is preferable when running over a cluster to use an administrator account Versions of Microsoft Windows now have the personal Firewall switched on by default Experienced users may configure the firewall settings to allow parallel PHOENICS to run successfully but while installing and until the user is sure that MPICH2 has been configured correctly it is recommended that any personal firewalls are turned off Again consult your network administrator if you are unsure how to do this After the user has established that MPICH2 is working correctly then of course you may switch the Firewall back on see settings in section 6 4 6 3 Installation of MPICH2 It will be assumed in what follows that PHOENICS has been successfully installed in accordance with the instructions in the earlier chapters of this document A full PHOENICS installation need only be made on one machine in a parallel cluster the head node from which jobs will be run however it is recommended that an installation is made on each workstation If PHOENICS is only installed on the head node then it will be necessary to share the phoenics directory so that all compute nodes may see it Each workstation in the cluster will also be required to have a valid local licence file phoenics lic accessible On Windows platforms parallel PHOENICS uses MPICH2 as the message passing interface MPI for the communication between the different processors MPICH2 is freely available on the Internet but for compatibility it is recommended that the installation is made from the MPI provided with PHOENICS package Installation instructions are as follows 6 3 1 Turn Off User Access Control In order to run the MPICH2 installation program you must first be logged onto the PC using an account that has Administrator privileges If the PC is running Vista Business or Windows 7 8 you must switch off the User Account Control UAC while installing MPICH2 If you fail to switch off UAC then the installation may complete without reporting any errors but in fact SMPD will not have been installed as a service nor will the necessary registry entries have been made To disable UAC open the Control Panel from the Start Menu select item User Accounts and then User Accounts once more On this page there should be an item Change User Account Control settings click on this item and then change the setting to its lowest one Never notify as below Then click OK to accept the changes and you will also be asked to restart the computer before the changes take effect 6 3 2 Run the MPICH2 installer The installer for MPICH2 is supplied as the file phoenics d allpro d windf MPI mpich2 1 4 1p1 win ia32 msi This file should be executed prior to running Parallel PHOENICS and this will initiate an Argonne National Laboratory installation of MPICH2 on your PC Follow the installation instructions and choose the default MPICH2 location in the Program Files folder C Program Files MPICH2 on your PC Please note While it only necessary for PHOENICS to be installed on a single PC in a cluster it is necessary to install MPICH2 or the SMPD service on all PCs 6 3 3 Update Environment variable PATH The PHOENICS parallel run scripts assume that mpiexec exe is located on the users PATH on the head and compute nodes If the default location was chosen this should be C Program Files MPICH2 bin The PATH is set through the System Properties dialog launched from the Control Panel The image below shows the stages to set the User variable path Go to the Advance settings page and click on Environment Variables button If the User variable path does not exist click on New otherwise highlight path and click on Edit Add the necessary path entry for mpiexec separate any path entries by semi colons To modify the System variable path consult with your network administrator Since version 12 the Intel Compiler has included Intel s version of mpich This version is not compatible at the binary level with that used by PHOENICS so it is important when using PHOENICS that MPICH2 appears in the PATH before the Intel Compiler So where above it was indicated that C Program Files mpich2 bin be added to the end of the path if you have Intel compiler installed on your PC it is safer for you to add it at the beginning instead This will ensure that the correct version of smpd and mpiexec will be found when you try to run parallel Note If the path causes the Intel version of mpiexec to be used then the parallel solver will stall on start up and calculations will not proceed 6 3 4 Registering user account When running across a cluster it is recommended to register a user account from which to launch MPICH2 on the head node While it is not essential it does simplify matters if this account is an administrator on the workstations within the cluster This account will then be used to launch parallel Phoenics on the compute nodes To register an account open a Command Prompt window From the Start menu it is located under Accessories and run the MPICH2 program mpiexec exe with the option register You will be prompted for an account and password e g mpiexec exe register account cfd1 password confirm Do you want this action to be persistent y n y If the cluster has been set up within a network Domain rather than a Workgroup then in the above you should also specify the domain as part of the account name For example if phoenics is the domain and cfd1 is the user account within that domain enter phoenics cfd1 The response y ensures that this action is persistent i e this registration process does not have to be repeated for each session on this computer 6 4 Windows Firewall settings If the firewall is activated when the PHOENICS solver earexe exe is run for the first time in either sequential or parallel mode a Windows Firewall Security Alert will be generated If the user is or intends running the solver in parallel mode then the user should click on the Allow access button On Windows 7 the user will need to also specify on which networks to allow access Normally you would only be making parallel runs on either a domain or private network so only these two items need be ticked before clicking on When running in parallel mode you will also get security alerts for the MPICH2 Process Manager smpd exe and the MPICH2 Process launcher mpiexec exe If you intend to run the parallel solver over a cluster it is essential that all three programs are unblocked allowed access Allowing access to the three programs above on the head node is not yet sufficient to enable parallel PHOENICS to run across a cluster of computers Before you can run across a cluster the user must first go to each of the compute nodes and allow access to the PHOENICS solver earexe exe and the MPICH2 Process manager smpd exe On Windows XP open the Windows Firewall icon from the Control Panel then go to the Exceptions Page On the head node check that the following three programs are included if any are missing you will need to use the Add Program button to add them C Phoenics d earth d windf earexe exe C Program Files mpich2 bin smpd exe C Program Files mpich2 bin mpiexec exe You may also use the Change scope button to restrict access to My network subnet only On each of the compute nodes you will need to add the programs C Phoenics d earth d windf earexe exe C Program Files mpich2 bin smpd exe On Windows 7 open the Control Panel and then click on System and Security Under the section Windows Firewall there should be an item Allow a program through Windows Firewall This will open a dialog from which you can check the permitted programs and allow you to add the additional programs as indicated above Users of other personal firewall will need to unblock the above programs in a manner suitable for their firewall software 6 5 Running Parallel PHOENICS 6 5 1 Running the standard parallel Earth The simplest way to launch parallel EARTH is from the VR Editor although it can be run from a Command Prompt window If a parallel PHOENICS licence has been purchased an additional sub menu Parallel Solver will appear under the Run menu option in the VR Editor Once the parallel solver is chosen a dialog box will appear on the screen where the user can either specify the number of processes to use or to specify a MPI configuration file The pulldown combo box provides the user with an option to select up to 64 processes in steps of 2 Those users who have more than 64 processors on their PC cluster may type the appropriate number into the box The Cluster Host List portion of the dialog enables the user to select which hosts in the cluster are used for computation Here there are three options Local Only the default will just use cores on the local machine ie that on which the instance of VR Editor is running Any will use a computer assigned distribution of processes on the nodes in the cluster These must have been previously identified in the cluster Specify in list users may select hosts from the scroll list By default this list should contain those hosts previously idenified in the cluster but one can also add to the list by using the Add button Alternatively one can supply a Machine List file which contains a list of those workstations from which to select This file is simply a text file with name of the workstations each on a separate line This mode of running the parallel solver will always launch the root process on the local machine and a convergence monitoring window will appear on screen as per the sequential solver If running across a cluster then the run will attempt to launch an instance of the solver from the same location on each of the compute nodes If the default locations are used this will be C phoenics d earth d windf earexe exe If a Private Earth is to be used then this also should be copied to the equivalent directory for each of the compute nodes When running across a cluster it is important to consider the working directory on the compute nodes This is because by default mpiexec will attempt to launch the process in the equivalent directory on all the workstations So if on the head node you are working in c phoenics myprojects projectbeta then this directory should also appear on all the workstations in the cluster otherwise the run will fail As it can difficult to always remember to create the working directory on all the cluster workstations there is an alternative One can set up an environment variable PHOE WORK DIR on each of the cluster to point to an existing fixed directory e g PHOE WORK DIR C phoenics mypar runs Then all processes aside from the launching process will write their output to this location PLEASE NOTE The use of PHOE WORK DIR is not recommended if you are likely to make multiple parallel runs simultaneously This is because the second run and subsequent runs will overwrite the working files of the first The above methods of launching the parallel solver do not allow the user to fix the number of solver instances on each workstation If you want that level of control then the user will need to use the MPI Configuration file see section 6 5 2 below 6 5 2 Configuration File The MPI configuration file option gives a more flexible way of launching the parallel solver Assuming we have PHOENICS installed on each computer in the cluster the following config file will use the public earexe exe to run a single process on each of the four computers localroot np 1 host cham cfd1 c phoenics d earth d windf earexe exe np 1 host cham cfd2 c phoenics d earth d windf earexe exe np 1 host cham cfd3 c phoenics d earth d windf earexe exe np 1 host cham cfd4 c phoenics d earth d windf earexe exe The following example launches two processes on each of two computers where PHOENICS is installed only on the head node localroot np 2 host cham cfd1 c phoenics d earth d windf earexe exe np 2 host cham cfd2 cham cfd1 d earth d windf earexe exe Users should create their own configuration and run files based on the examples provided tailored to their own installation These can either be located in phoenics d utils d windf or the local working directory 6 5 3 Cluster Operation All Nodes in the cluster should belong to the same Workgroup or Domain and the user should be logged into each Node on the Cluster using the same Workgroup Domain User account and password A full PHOENICS installation must be made on the head node A PHOENICS installation is strongly recommended on the other compute nodes but it is not essential If PHOENICS is only installed on the head node then the phoenics folder will need to be shared with at least Read permissions for the other compute nodes in the cluster The Shared name which is chosen when the folder is shared is used in the configuration file and in the example file config4 above the shared name is phoenics While it is possible for compute nodes to refer to the licence and configuration files on the head node in practice this has led to problems and the solver unexpectedly stalling As a minimum therefore the following files should be copied onto each of the compute nodes C phoenics d allpro phoenics lic C phoenics d allpro coldat C phoenics d allpro config C phoenics d allpro prefix C phoenics d earth earcon C phoenics d earth props The files get hostid bat and lmhostid exe in c phoenics d allpro will also be needed initially to identify the compute node HOSTID necessary for unlocking the software The environment variable PHOENICS should be set to C phoenics on the compute nodes to indicate that the configuration files are stored locally See section 6 3 3 for some help in setting environment variables Instead of running the solver directly from the network shared folder see shared folder phoenics in config4 file above one could also copy the solver to the compute nodes as C phoenics d earth d windf earexe exe During a run of the parallel solver the processes on the compute nodes will need to read and write some working files These are generally only of use to the program during a run or perhaps for diagnostic purposes if things go wrong but they still need to be written somewhere By default these will be in an equivalent directory to that used to start the run on the head node So if the run was started from c phoenics d priv1 on the head node the user will need to make sure that there is a directory of the same name on each of the compute nodes As the files created on the compute nodes may be considered scratch files i e only of short term value it is possible to set up an environment variable PHOE WORK DIR on each of the compute nodes to specify where these files will be stored Thus one does not have to remember to create a working directory for each time you change the working directory on the head node If PHOENICS is installed on each compute node in addition to the head node then the Workgroup Domain User account used to log into each compute node must allow read access to all PHOENICS folders and write access to the folder C phoenics d priv1 6 5 4 Automatic domain decomposition When using the default automatic domain decomposition parallel PHOENICS only differs from sequential when Earth is run problem set up and post processing of results can be done in exactly the same way as for the sequential version A case that has been run in sequential mode can be run in parallel without any changes being made The output from a parallel PHOENICS simulation will be result and phi files having the same format as for sequential simulations 6 5 5 User specified sub domains It is also possible to by pass the automatic domain decomposition algorithm and to specify how you want to decompose the calculation domain into sub domains This can be done by selecting Manual in the Domain decomposition group box on the Run Parallel solver dialog see section 6 5 1 above When you first switch to manual decomposition the arrangement will match the automatic decomposition that would otherwise be used Normally automatic decomposition will suffice but there may be occasions where a different decomposition is preferable to avoid a split at a critical location 6 5 6 Command mode operation In a Command Prompt window if the EARTH executable is launched directly then the sequential solver will be used to run the parallel solver the program name earexe is used as an argument to mpiexec A script RUNPAR BAT nnodes is provided The optional argument nnodes indicates the number of processes to be launched on the current PC The default is to launch two processes For example RUNPAR 2 will execute the MPI command mpiexec localroot np 2 phoenics d earth d windf earexe If a cluster has been defined by smpd then the command will execute on two processors in the cluster otherwise it will launch multiple processes on the local machine There are also run commands which can be used in conjunction with configuration files for example runcl4 uses the configuration file config4 Config4 lists the PCs and processors to be used see above Configuration file section above 6 5 7 Testing Parallel PHOENICS The parallel installation should be tested by loading a library case The different solver used for parallel operation requires a slight modification to the numerical controls For example the user may use main Menu in the VR Editor and select Numerics and then Iteration control change the number of iterations for TEM1 temperature from 20 to 300 Increasing the relaxation for the velocity components U1 and W1 from 1 0 to 10 0 will also improve performance For parallel operation it is recommended that velocities should be solved whole field rather than slab by slab this can be achieved from the VR Editor under Models Solution control extra variables or by direct editing of the q1 file by setting Y as the third logical in a SOLUTN command 6 6 Further Information A MPICH2 user guide is installed as part of the installation in PDF format it is accessible from the MPICH menu item on the Start menu Online documentation is available at http www mcs anl gov research projects mpich2 6 7 Parallel Troubleshooting 6 7 1 Unable to install MPICH2 due to missing packages Previously it was found that the user either needed to install Microsoft s Visual Studio 2005 2008 or two Redistributable Packages available as free downloads from the Microsoft website before you can install MPICH2 With the current version of the installer MPICH2 1 4 1p1 on a computer running Windows 7 these packages no longer appear to be a pre requisite If you should find you need them here are the links to download them Microsoft NET Framework version 2 0 Redistributable Package x64 Microsoft Visual C 2005 SP1 Redistributable Package x64 These links were still correct April 2014 if you are unable to find them try a search of the Microsoft site using the package name 6 7 2 Check that smpd exe is running on your computer In order for parallel PHOENICS to start the MPICH2 Process Manager smpd exe must first be running on each computer in the cluster This is also necessary if PHOENICS is running in parallel on a single multi core computer It should have been installed as a service during the MPICH2 installation process If parallel PHOENICS fails to start begin by checking whether smpd exe is listed amongst the list of processes in the Task Manager you will need to tick the item Show processes from all users before it will get displayed If smpd exe is not listed amongst the processes then you will need to manually install it as an Administrator To do this you will need to open a Command Prompt window on Vista Windows 7 you will also need to use the Run as Administrator when starting the Command Prompt In the window type smpd install to install the smpd as a service 6 7 3 Difficulty locating hosts If the head node has difficulty seeing one or more of the compute nodes and you are using static IP addresses in your cluster then you should consider defining the IP addresses in the host file on each of the workstations The host file is normally located as C Windows system32 drivers etc hosts An example hosts file is Copyright c 1993 2009 Microsoft Corp This is a sample HOSTS file used by Microsoft TCP IP for Windows This file contains the mappings of IP addresses to host names Each entry should be kept on an individual line The IP address should be placed in the first column followed by the corresponding host name The IP address and the host name should be separated by at least one space Additionally comments such as these may be inserted on individual lines or following the machine name denoted by a symbol For example 102 54 94 97 rhino acme com source server 38 25 63 10 x acme com x client host 127 0 0 1 localhost 192 168 11 1 cham cfd1 192 168 11 2 cham cfd2 192 168 11 3 cham cfd3 192 168 11 4 cham cfd4 To determine the IP addresses on each of the workstations in the cluster open a Command Prompt window and type the command ipconfig Use the IPv4 Address located in the section Ethernet adapter Local Area Connection to define the IP address for the workstation in the hosts file 6 7 4 Registry not updated during installation Sometimes on Windows 7 or Vista PCs the passphrase is not written to the registry correctly during installation This can be checked by using the Windows program regedit and navigating to HKEY LOCAL MACHINE Software MPICH SMPD Assuming default values the registry key phrase should have the value behappy Set the registry key phrase to this value if it is not present 6 7 5 Non fatal error messages while running parallel There are two non fatal error messages that may occur in the Command Prompt window The first is The system cannot find the path specified This will occur if the phoepath bat did not correctly identify the location for the Intel compiler or if you don t have the compiler installed on the computer The second non fatal message is Unable to open the HKEY LOCAL MACHINE SOFTWARE MPICH SMPD process 1264 registry key error 5 Access is denied This can occur either if you are running from a non administrator account or if you have UAC turned on This error is not usually fatal and the run should continue The process number may be different to the one indicated above 6 7 6 Incorrect unlocking on one of the compute nodes If when starting the parallel solver you find that it has stalled during the start up process that is if there are earexe exe processes visible on all the compute nodes but consuming no CPU then it may be a case of one of the compute nodes not being correctly unlocked If this happens you will need to check the installations on each of the nodes separately to determine which has not been unlocked correctly 6 7 7 Firewall blocking on one of the compute nodes If one of the compute nodes has not had the Firewall setting made correctly then the program mpiexec exe should appear in the task manager of the head node but earexe exe will not appear in the list of processes on the compute node It will appear to stall but will eventually time out with a message Error while connecting to host a connection attempt failed because the connected party did not properly respond after a period of time or established connection failed because connected host has failed to respond 10060 Connect on sock host cham cfd2 port 8676 failed exhausted all end points unable to post a connect to start the connect command Sock error Error 1 Abort Unable to connect to cham cfd2 8676 Sock error Error 1 If this message occurs then check the firewall settings on host cham cfd2 and ensure that the programs smpd exe and earexe exe have been allowed access see 6 4 for detail Appendix A Unlocking PHOENICS FLEXlm PHOENICS is normally unlocked using the FLEXlm system and the delivery CDROM contains a FLEXlm licence file which allows use of PHOENICS for an initial period of one month The batch file phoenics d allpro get hostid bat will create a text file lmhostid txt which contains the FLEXlm HOSTID of that PC Alternatively the program phoenics d allpro lmhostid exe when run in a DOS window displays the required FLEXlm HOSTID This HOSTID should be sent to CHAM s Installation Section see Contacting CHAM details below in order to obtain a longterm licence file The FLEXlm licence file phoenics lic supplied by CHAM in response to such a request should be placed in phoenics d allpro and the existing phoenics lic file deleted USB dongle A USB dongle may be supplied with the delivery and the unique USB FLEXID will normally be known by CHAM This FLEXID is printed on the USB dongle itself and is of the form 9 abcd1234 When requesting a FLEXlm licence file the FLEXID value should be sent to CHAM s Installation Section see Contacting CHAM details below Rainbow Dongle Existing PHOENICS users may have a Rainbow dongle and in this case PHOENICS is locked unlocked using a dongle based unlocking string present in the CONFIG file in the directory phoenics d allpro and is initially supplied with a temporary unlocking string A permanent unlocking string may be supplied with the PHOENICS delivery or may be requested from CHAM s Installation Section see Contacting CHAM details below The dongle number is currently 10793 An example of a dongle unlocking string and its location in the CONFIG file is shown below the example is not currently valid The unlocking string consists of the line starting with the text ID The configuration file CONFIG for PHOENICS version 3 5 1 ID 9 L8P3Y P5ABG1AIOA 2D SF dongle March 2009 SITE CHAM SATPRE phoenics d satell EARPRE phoenics d earth PHOPRE phoenics d photon AUTPRE phoenics d photon Parallel PHOENICS is unlocked using the FLEXlm system and the delivery CDROM contains a FLEXlm licence file which allows use of Parallel PHOENICS for an initial period of two months The FLEXlm HOSTID can be obtained as detailed under the paragraph FLEXlm above Unlocking for a multi processor machine is exactly the same whether parallel or sequential PHOENICS is being used on that PC For a Parallel cluster installation the HOSTID of all the machines in the cluster is required because although PHOENICS need only be installed on one machine parallel Earth will run on each machine This is the case for multi processor installations and clusters of fewer than 16 nodes alternative unlocking will be arranged for larger clusters AC3D AC3D can be obtained directly from Inivis www inivis com The folder phoenics d ac3d plugins contains files which allow AC3D to be used in conjunction with PHOENICS and AC3D should be installed on your computer such that it is in the folder phoenics d ac3d Contacting CHAM The FLEXlm HOSTID or USB FLEXID should be recorded on the unlocking request form provided and returned to Installation Section Tel 020 8947 7651 CHAM Fax 020 8879 3497 Bakery House e mail js cham co uk 40 High Street Wimbledon London SW19 5AU Appendix B Frequently Asked Questions and Troubleshooting B 1 FAQ 1 What is the PHOENICS directory structure A brief description of the first level subdirectories under phoenics is given below d ac3d contains a stand alone program which can be used among other things to create objects for use in the VR Editor d allpro contains the binary code for the PHOENICS service routines shared by SATELLITE and EARTH the program libraries for all modules and the graphics drivers used by SATELLITE EARTH and PHOTON d cosp contains a new goal seeker for the purpose of solving so called inverse problems to be purchased separately d chmkin containing files for the CHEMKIN interface d earth contains the binary code and some source files of the PHOENICS main solver program EARTH together with the PHOENICS case libraries d enviro contains program and data files for the PHOENICS COMMANDER d includ contains the Fortran common blocks required for recompilation d intfac contains the interfaces between PHOENICS and other codes d photon contains the binary code of the PHOENICS post processor program PHOTON which now incorporates AUTOPLOT d pc contains the PHOENICS Commander d polis contains all files for the PHOENICS On Line Information System d priv1 is referred to as a private working directory from which the user may run all the PHOENICS programs or use the PHOENICS VR Environment d satell contains the binary code of the PHOENICS pre processor program SATELLITE and the menu libraries d shapem contains the executable of Shapemaker a geometry generator d utils contains utility batch files such as run scripts link scripts and compiler option scripts Also included are directories which contain many utility programs In addition to phoenics the installation process will create the directory website containing the additional files relevant to the PHOENICS On Line Information System 2 How do I create a working directory Under Windows A working directory phoenics d priv1 is provided with the installation New working directories may also be created anywhere on the system The following steps should be performed in order to create a working directory such as d work To create the new folder click the right mouse button on an empty part of the Windows desktop then select New and Folder Type in a name for the new folder e g d work then press return Drag this d work folder to any convenient location Start the PHOENICS VR Environment and click on Options Change working directory Use the browser to locate the new folder Note that the desktop icon created by the installation process is set to start PHOENICS with phoenics d priv1 as the working directory This can be changed by bringing up the properties dialog box for the PHOENICS icon and changing the Working directory on the program tab Many copies of the icon can be made each with a different Working folder In a Command Prompt window It is recommended that a new working directory is created under the phoenics directory although the new directory can be anywhere To create the new working directory d work Type md d work 3 Why the PHOENICS On line Information System POLIS did not run correctly POLIS can be run from the PHOENICS VR Environment or the PHOENICS Commander by clicking on the appropriate button under HELP in the top tool bar It can also be started on Windows systems from the CHAM logo icon labelled POLIS on the Desktop All the POLIS documents are in HTML format and can be accessed directly through an Internet browser The address of the POLIS top page is usually phoenics d polis polis htm Normally the POLIS files will be copied to the drive on which PHOENICS has been installed The Desktop icon and Start menu item will be set to this drive automatically by the installation program The drive letter used by the HELP button is stored in the file phoenics d allpro cham ini At installation time it is set to C If PHOENICS is installed on another drive say D the cham ini file must be edited with Notepad or any other file editor and the entry drive in the POLIS section must be set to the correct drive letter A consequence of this is that it is possible to keep all the POLIS files on the CD ROM if there is a shortage of disk space The POLIS drive letter should then be set to that of the CD ROM drive The directories phoenics d polis and website can now be deleted from the hard drive The properties of the Desktop icon and Start menu item should be changed accordingly 4 Why the POLIS links don t work in Firefox POLIS uses absolute pathnames in its HTML links unfortunately Firefox is unable to translate these links correctly from the file system It is possible to get over this limitation by installing and using the IE Tab add on The IE Tab can be downloaded from the Firefox website http www mozilla com then follow the link to popular Add ons Just scroll down until you find the IE Tab click on the Add to Firefox button and install The Tab will appear as a small icon to the left of the address bar just click on it when you need to activate it 4 Can I open a new Command Prompt window to run PHOENICS PHOENICS can be run from an Command Prompt window opened by users using individual commands such as sat to run SATELLITE vre to run the PHOENICS VR Environment ear to run EARTH pho to run PHOTON aut to run AUTOPLOT providing that the PATH for that window has been suitably modified The batch file phoenics d utils phoepath will modify the PATH correctly Users should check this file to ensure that the drive letters and paths for PHOENICS and the Intel Visual Fortran Compiler are both correct 6 What compiler option should I use For the 32bit Intel Visual Fortran version the PHOENICS code has been compiled using the compiler options ifort iface cvf threads libs static winapp compile only assume byterecl debug none O3 include phoenics d allpro d libs d windf as specified

    Original URL path: http://www.cham.co.uk/phoenics/d_polis/d_docs/tr110/tr110pc.htm (2016-02-15)
    Open archived version from archive

  • How to make GROUND coding compatible with Parallel PHOENICS
    run GD INDPAT iglob 1 this returns the local patch index for the global patch iglob If the value returned is 0 the patch does not exist on the current process PGETCV iglob ivar coef val this returns the COefficient and VALue for variable ivar for global patch iglob If the coefficient is returned as 999 0 no COVAL exists for this variable at this patch GLSUM real which sums a single real value over all processes and sends the global sum back to all processes MYID is the number of the current process The master process has the ID number 0 In sequential runs this is always 0 Head of GROUND file SUBROUTINE GROUND INCLUDE phoenics d includ farray INCLUDE phoeclos d includ d earth parvar INCLUDE phoenics d includ satear INCLUDE phoenics d includ grdloc INCLUDE phoenics d includ satgrd INCLUDE phoenics d includ grdear INCLUDE phoenics d includ grdbfc INCLUDE phoenics d includ parear Group 19 Section 7 Coding Parallel specific code is in red 197 CONTINUE C SECTION 7 Finish of sweep C Calculate overall mass inflow IF NPROC GT 1 THEN ILIM GD NUMPAT ELSE ILIM NUMPAT ENDIF FMASIN 0 0 DO I 1 ILIM loop over global or local patches IF NPROC GT 1 THEN IR GD INDPAT I 1 get local index IR for global patch no I ELSE IR I in sequential local and global are the same ENDIF IF NPROC GT 1 THEN CALL PGETCV I R1 GCO GVAL get GO and VAL for Mass ELSE CALL GETCOV NAMPAT IR R1 GCO GVAL get GO and VAL for Mass ENDIF IF QEQ GVAL 999 CYCLE no COVAL for mass so skip to next patch IF IR LT 0 THEN SORCE 0 0 patch does not exist on this processor ELSE CALL GETSO IR R1 SORCE get mass source for local patch IR ENDIF IF NPROC GT 1 CALL GLSUM SORCE sum over all processors IF SORCE GT 0 0 THEN mass inflow FMASIN FMASIN SORCE sum mass ENDIF ENDDO IF MYID EQ 0 THEN print on master CALL WRIT40 The total mass inflow is kg s CALL WRIT1R MASSIN FMASIN ENDIF Utility Subroutines for use by Parallel PHOENICS Interface A selection of the utility subroutines employed in the PHOENICS Parallel Interface is listed below Routines that sum variables across all the processes SUBROUTINE LGSUM AND VAR It gives the Global AND of LOGICAL variable VAR among Working Processes SUBROUTINE LGSUM OR VAR It gives the Global OR of LOGICAL variable VAR among Working Processes SUBROUTINE DGSUM2 VAR1 VAR2 It calculates the Global Sum Of VAR1 VAR2 among Working Processes Data type REAL 8 SUBROUTINE DGSUM3 VAR1 VAR2 VAR3 It calculates the Global Sum Of VAR1 VAR2 VAR3 among Working Processes Data type REAL 8 SUBROUTINE DGSUMN DATA N It calculates the Global Sum Of n REAL 8 values across Processes Data type REAL 8 Max n is 256 SUBROUTINE RGSUMN DATA N It calculates the Global Sum Of n REAL 4

    Original URL path: http://www.cham.co.uk/products/para1.php (2016-02-15)
    Open archived version from archive

  • In-form10.htm
    XPP2 is 0 74 MAKE of YPP1 is 0 338 MAKE of YPP2 is 0 98 MAKE of D UU STORE1 D UU is 100 U1 XPP1 YPP1 U1 XPP2 YPP2 with SWPFIN print of U1 different is D UU Operators with fixed indexes in any STORE1 formulas MAKE of IXP1 is 1 MAKE of IXP2 is 3 NX 4 MAKE of IYP1 is NX 4 MAKE of IYP2 is NY MAKE of D PI STORE1 D PI is 100 P1 IXP1 IYP1 1 P1 IXP2 IYP2 1 with SWPFIN print of P1I different is D PI Note that expressions involving the use of and can not be used directly in SOURCE STORED INITIAL or PROPERTY statements However the desired end can be achieved in two stages by the use of STORE1 For example instead of STORED of TDIF is 100 TEM1 TEM1 NX 2 NY 2 1 SOURCE of TEM1 at SRAD is 0 1 TEM1 0 56 0 45 0 8 TEM1 with LINE one can write MAKE of TSENSA MAKE of TSENSB STORE1 TSENSA is TEM1 NX 2 NY 2 1 STORE1 TSENSB is TEM1 0 56 0 45 0 8 STORED of TDIF is 100 TEM1 TSENSA SOURCE of TEM1 at SRAD is 0 1 TSENSB TEM1 with LINE In STORE1 operators can be used SUM in any appearances with any IF operators and with any patches and VR Objects SUM and IF with XYZ MAKE of TSUMX is 0 MAKE of VSUMX STORE1 TSUMX is SUM TEM1 VOL with if XG LT 0 8 AND YG LT 0 5 SWPFIN STORE1 VSUMX is SUM VOL with if XG LT 0 8 AND YG LT 0 5 SWPFIN STORE1 TSUMX is TSUMX VSUMX SWPFIN SUM and IF with IX IY IZ MAKE of TSUMI is 0

    Original URL path: http://www.cham.co.uk/phoenics/d_polis/d_enc/in-form10.htm (2016-02-15)
    Open archived version from archive

web-archive-uk.com, 2016-10-22