|
[Sponsors] |
codedFixedValue BC on rhoCentralFoam producing crash |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 8, 2020, 06:02 |
codedFixedValue BC on rhoCentralFoam producing crash
|
#1 |
New Member
Anthony Gay
Join Date: Oct 2019
Posts: 17
Rep Power: 7 |
Hello Everyone
I'm working on a project and I've been trying to get the coded fixed value BC running on the rhoCentralFoam solver however when I try and do this it produces a crash with no error output. This is my logFile Code:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Reading thermophysical properties Selecting thermodynamics package { type hePsiThermo; mixture pureMixture; transport const; thermo hConst; equationOfState perfectGas; specie specie; energy sensibleInternalEnergy; } Using dynamicCode for patch sides on field p at line 1030 in "/home/anthonygay1812/OpenFOAM/tutorials/tutorials/compressible/rhoCentralFoam/shockTube/0/p.boundaryField.sides" Code:
[Inferior 1 (process 17977) exited with code 0220] Thank you! p.orig file Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -1 -2 0 0 0 0]; internalField uniform 0; boundaryField { sides { type codedFixedValue; value $internalField; redirectType HPCFluid; code #{ operator==(0.5*sin(3.14*this->db().time().value())/2); #}; codeOptions #{ -I$(LIB_SRC)/finiteVolume/lnInclude #}; //type fixedValue; //value uniform 1; } empty { type empty; } } // ************************************************************************* // |
|
May 8, 2020, 07:33 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
- Can you try to use the "fixedValue" to see if the same error occurs?
- Can you try to write a simpler "codedBC" to see if the same error occurs? - Is it possible for you to run the same case in a Linux distro to isolate whether the issue is related to Windows?
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
May 9, 2020, 00:47 |
|
#3 | ||
New Member
Anthony Gay
Join Date: Oct 2019
Posts: 17
Rep Power: 7 |
Hi HPE
Thanks for the response Quote:
Quote:
I'll get back to you on this, I normally have access to a computational cluster with linux/openFoam installed and was going to try running it on that but I've been having issues connecting remotely. I think its a good thing to try so I'll let you know if I can find a linux machine to test it on. |
|||
May 9, 2020, 01:37 |
|
#4 | |
New Member
Anthony Gay
Join Date: Oct 2019
Posts: 17
Rep Power: 7 |
Quote:
Thank you! |
||
May 9, 2020, 03:32 |
|
#5 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
Good to hear "Bingo" .
I kindly suggest you that if you think this is a bug - please do report it to the Foundation issue tracker, for which you can find the link below. Thank you.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
Tags |
codedfixedvalue, openfoam 7, rhocentrafoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
including parameter file in codedFixedValue | Loekatoni | OpenFOAM Running, Solving & CFD | 4 | November 9, 2023 17:56 |
Modify rhoCentralFoam: other equations of state | fivos | OpenFOAM Programming & Development | 5 | July 29, 2020 14:17 |
codedFixedValue: accessing other patch causes crash in parallel | RL-S | OpenFOAM Running, Solving & CFD | 2 | December 24, 2019 22:20 |
Always crash when solve a C-D nozzle flow field using rhoCentralFoam | hawklion | OpenFOAM Running, Solving & CFD | 0 | March 9, 2011 07:13 |
Always crash when solve a C-D nozzle flow field using rhoCentralFoam | hawklion | OpenFOAM | 3 | March 8, 2011 20:03 |