Saturday, October 9, 2010

Software : Easy Interface for Microcontroller Programming in C using JFE & SDCC


Using Jen's File Editor (JFE) and Small Device C Compiler (SDCC) you can program the Intel 8051, Maxim 80DS390, Zilog Z80 and the Motorola 68HC08 based MCUs in C easily. JFE will give a good General User Interface (GUI) for SDCC. SDCC's command is using line command or DOS command so it would be problem for someone who have not familiar with Command or DOS scripts. But using JFE would give a comfortable because it can simplifying the compiling process without type any scripts command in DOS or command prompt window. I just do one click on the button which I customized in JFE with SDCC coupled. And also I do not have to leave the editor because JFE embed the SDCC button to compile and I can see the codes error in the same window. 

JFE acronym for "Jens' File Editor" is a free Windows (32-bit) based text editor and source code editor which is aimed primarily at computer programmers working with C/C++ but of course is not limited to that.
SDCC is a retargettable, optimizing ANSI - C compiler that targets the Intel 8051, Maxim 80DS390, Zilog Z80 and the Motorola 68HC08 based MCUs. Work is in progress on supporting the Microchip PIC16 and PIC18 series.

Installation :
Extract the sdcc_jfe_setup.exe. The default destination extraction folder is C:\. You may change to another destination folder but You must change the application/sdcc button setting after installation. To change application/sdcc button setting :

1- Open Jfe_sdcc.exe
2- clik New
3- Right click the "SDCC 2.9.0" button
4- Set the application setting as the "sdcc.exe" application file exsited.



DOWNLOAD :
SDCC_JFE_SETUP.EXE (File size : 3.22MB)


Source :
Jen's File Editor
Small Device C Commpiler

Microcontrollers: From Assembly Language to C Using the PIC24 Family
Outlines & Highlights for Microcontroller Theory and Application - With CD by Daniel J Pack
Get Going with...AVR Microcontrollers
Microcontrollers: Theory and Applications (Import) (Computer Engineering Series)




Read More ..

Wednesday, August 25, 2010

Tutorial : Cyclepad - Tutorial , analysis, application, etc.

Using CyclePad, setting up such a cycle is actually very simple, but it requires that we know some of the basic facts and typical assumptions that apply to the cycle. We will examine a typical Rankine cycle problem and note the assumptions necessary to find the problem's solution, many of which will not be stated explicitly in the problem.
This documentation is explaining how to setting an explicit state of rankine cycle. And it covers ideal , reheat and regenerative cycle problems.
Download Tutorial :
RANKINE.PDF

Download Cyclepad application Journals/documentations :
- Teaching Rankine cycle by using an intelligent computer-aided design (PDF)
- Comparison between traditional and web-based interactive manuals ...(PDF)

- Examining Staged Enhancements for Thermodynamic Cycles to Improve Performance using an Intelligent Instruction Software (PDF)
- Rapid Authoring of Intelligent Tutors
- Laboratory Manual MECH 351 Thermodynamics II
- Building an Articulate Educational Software

From Amazone :
- Thermodynamic Cycles: Computer-Aided Design And Optimization
- Intelligent Computer Based Engineering Thermodynamics and Cycle Analysis
- Computer Aided Chemical Thermodynamics of Gases and Liquids: Theory Models and Programs
- Computer Aided Design in Composite Material Technology: Proceedings of the International Conference, Southampton 1988


Fundamentals of Engineering ThermodynamicsThermodynamics: An Engineering Approach with Student Resource DVD
Read More ..

Wednesday, May 26, 2010

Tutorial : FLUENT - SIMULATING A MIXING ELBOW (2D)


This tutorial is further process from Tutorial : GAMBIT - MODELING A MIXING ELBOW . This tutorial illustrates the setup and solution of the two-dimensional turbulent fluid flow and heat transfer in a mixing junction. The mixing elbow configuration is encountered in piping systems in power plants and process industries.

It is often important to predict the flow field and temperature field in the neighborhood of the mixing region in order to properly design the location of inlet pipes.In this tutorial you will learn how to:

• Read an existing grid file into FLUENT
• Use mixed units to define the geometry and fluid properties
• Set material properties and boundary conditions for a turbulent forced convection problem
• Initiate the calculation with residual plotting
• Calculate a solution using the segregated solver
• Examine the flow and temperature fields using graphics
• Enable the second-order discretization scheme for improved prediction of temperature
• Adapt the grid based on the temperature gradient to further improve the
prediction of temperature

Related Posts:
- Tutorial : GAMBIT - MODELING A MIXING ELBOW (2D)

DOWNLOAD TUTORIAL:
FLUENT TUT01.PDF


Another Reading :
Computational Fluid Dynamics: Fluent, Inc., Computational Fluid Dynamics, Muscl Scheme, Flux Limiter, Lattice Boltzmann Methods

A study in computational fluid dynamics for application to the understanding of commercial software

The trends in CFD are continuous, dynamic, and real: a variety of new computational fluid dynamics (CFD) software packages are just a mouse click away ... article from: Automotive Design & Production

Investigating the potential use of natural ventilation in new building designs in Turkey [An article from: Energy & Buildings]Computational Fluid Dynamics: A Practical Approach
Read More ..

Thursday, May 20, 2010

Tutorial : GAMBIT - MODELING A COMBUSTION CHAMBER (3-D)


In this tutorial, you will create the geometry for a burner using a top-down geometry construction method in GAMBIT (creating a volume using solids). You will then mesh the burner geometry with an unstructured hexahedral mesh.

In this tutorial you will learn how to:
• Move a volume
• Subtract one volume from another
• Shade a volume
• Intersect two volumes
• Blend the edges of a volume
• Create a volume using the sweep face option
• Prepare the mesh to be read into FLUENT 5/6 

In this tutorial, you will create a combustion chamber geometry using the “top-down” construction method. You will create volumes (in this case, bricks and cylinders) and use Boolean operations to unite, intersect, and subtract these volumes to obtain the basic geometry. Finally, using the “blend” command, you will round off some edges to complete the geometry creation.

For this model, it is not possible to simply pick the geometry and mesh the entire domain with hexahedral elements, because the Cooper tool (which you will be using in this tutorial) requires two groups of faces, one group topologically parallel to a sweep path, and the other group topologically perpendicular. However, the rounded (blended) edges fit in neither group. See the GAMBIT Modeling Guide for a more detailed description of the Cooper tool. You need to decompose the geometry into portions that can be meshed using the Cooper tool. There are several ways to decompose geometry in GAMBIT. In this example, you will use a method whereby portions of the volume around the blend are split off from the main volume.

The problem to be considered is shown schematically in Figure above. The geometry consists of a simplified fuel injection nozzle that feeds into a combustion chamber. You will only model one quarter of the burner geometry in this tutorial, because of the symmetry of the geometry. The nozzle consists of two concentric pipes with radii of 4 units and 10 units respectively. The edges of the combustion chamber are blended on the wall next to the nozzle.

DOWNLOAD TUTORIAL
TUTORIAL GAMBIT 04


- Experimental studies of incineration in a cylindrical combustion chamber
- Design Engineering Challenges and Solutions of Kistler Automotive Combustion Pressure Sensors, Water-cooled Sensors, Piezoelectric Sensors, the Crank Angle ... System, and the Sensor Calibrarion Process
- Fuels of Opportunity: Characteristics and Uses in Combustion Systems

Combustion Science and Engineering (Computational Mechanics and Applied Analysis)Combustion, Fourth Edition
Read More ..