|
[Sponsors] |
December 26, 2021, 16:23 |
Take fields from another folder
|
#1 |
New Member
Join Date: Jul 2021
Posts: 4
Rep Power: 4 |
Hello to everyone!
I created a new solver and many volScalarFields are involved. In order to be clearer in the case to be simulated, I store them in different folders in 0 so: 0/Amplitudes 0/Fluxes 0/Properties 0/Weights No problems, just change in createFields.H where I take variables like: volScalarField fi1 ( IOobject ( "Fluxes/fi1", runTime.timeName(), mesh_fi, IOobject::MUST_READ, IOobject::NO_WRITE ), mesh_fi ); However when I run the solver it gives me a problem: the fvSchemes is not able to find the variables! It should do: fvm::laplacian(DD1,fi1) while in fvSchemes there is: laplacian(DD1,fi1) Gauss linear corrected; but it gives me this error: Entry 'laplacian(Properties/DD1,Fluxes/fi1)' not found in dictionary "/mnt/c/users/hp/desktop/tesi/calcoli/Space_energy/RI1/system/fvSchemes.laplacianSchemes" So I ask you: how to solve this? Is it possible to do what I want, so store the variables in subfolders in 0? Thanks to everyone |
|
Tags |
folder, fvschemes |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Postprocess: sampleDict works but creates no output folder | shock77 | OpenFOAM Post-Processing | 14 | November 15, 2021 08:27 |
Сhoice fields using mapFields | Reptider | OpenFOAM Running, Solving & CFD | 0 | July 13, 2021 11:44 |
write fields in openfoam database in boundary patch | medmast | OpenFOAM Programming & Development | 7 | February 14, 2017 15:53 |
Is there a way to write only the probe locations instead the whole fields? | jeanbvb | OpenFOAM Programming & Development | 6 | October 5, 2016 10:57 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 18:57 |