Inverse modeling for large-eddy simulation