View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004083 | OpenFOAM | Contribution | public | 2024-05-21 10:36 | 2024-05-23 11:19 |
Reporter | Apanasevich | Assigned To | will | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | amd64 | OS | Rocky Linux | OS Version | 8.6 |
Product Version | dev | ||||
Summary | 0004083: fvModels: lookup a variable within a coded source term | ||||
Description | Configuration considered: multiphaseEuler, multicomponent fluids, mass transfer between the phases. Let's assume the liquid phase consists of two species "air" and "water" as given in turorial "bubbleColumnEvaporatingDissolving". In addition there is a passive scalar called "scalar.liquid" for which a transport equation is solved using phaseScalarTransport functionObject. We also assume that a coded source term is added to the transport equation of a species (water.liquid) and to the transport eqiation of the passive scalar (scalar.liquid), i.e. there are two coded source terms defined in fvModels. Next assumption: both source terms depend on a variable "myVar". If "myVar" is defined only within the coded source term of species ("water.liquid") transport equation and it is lookup within the coded source term of passive scalar ('scalar.liquid') transport equation, the simulation crashes: --> FOAM FATAL ERROR: request for volScalarField myVar.liquid from objectRegistry region0 failed available objects of type volScalarField are If I do it vice versa: "myVar" is defiend within the coded source term of the passive scalar ("scalar.liquid") transport equation and it is lookup within the coded source term of species (water.lquid) transport equation, the simulation works fine. I am attaching a test case (based on bubbleColumnEvaporatingDissolving tutorial) that demonstrates this issue. This report is for your information; I am not sure if it is a bug or a missing feature. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2024-05-21 10:36 | Apanasevich | New Issue | |
2024-05-21 10:36 | Apanasevich | File Added: bubbleColumnEvaporatingDissolving.zip | |
2024-05-23 11:19 | will | Assigned To | => will |
2024-05-23 11:19 | will | Status | new => closed |
2024-05-23 11:19 | will | Resolution | open => no change required |
2024-05-23 11:19 | will | Note Added: 0013250 |