A two‐layer ionospheric dynamo calculation