Creating a volumetric mesh from a surface model

I need to convert a surface model that was created in Blender into a solid, volumetric mesh. The original file is in .obj format. I also need to save the volumetric mesh as a format that can be read by R (for research purposes).