A mathematical model for flow inside extruder and expansion was developed. Pressure, Temperature and Energy profiles developed inside the extruder. Microscopic model at bubble level coupled with macroscopic model at extrudate level. Process parameters and product characteristics compared well with simulated results.