Activity for Daniel Khazaei

  • Daniel Khazaei Daniel Khazaei created ticket #39

    [foam-extend-4.1]: piso/pimple unstable

  • Daniel Khazaei Daniel Khazaei modified a comment on ticket #18

    Well I reported this issue a while back and I was not aware that unlike OpenFOAM, foam-extend reads local controlDict. However, I managed to find the solution soon after submitting the ticket: https://sourceforge.net/p/foam-extend/tickets/18/#3b7f I don't know what is wrong on @Stefan Bošković side, but it is working here since then. Although, compiling a dynamic code in a parallel run is considerably slower comparing to a serial run, is it expected?

  • Daniel Khazaei Daniel Khazaei posted a comment on ticket #18

    Well I reported this issue a while back and I was not aware that unlike OpenFOAM, foam-extend reads local controlDict. However, I managed to find the solution soon after submitting the ticket: https://sourceforge.net/p/foam-extend/tickets/18/#3b7f I don't know what is wrong on @Stefan Bošković side, but it is working here since then. Although compiling a dynamic code in a parallel run is considerably slower comparing to a serial run, is that expected?

  • Daniel Khazaei Daniel Khazaei created ticket #34

    [foam-extend-4.1]: parallel cases crash when GAMG is selected for pEqn

  • Daniel Khazaei Daniel Khazaei committed [9e401e]

    [port]: completed List container implementation with new functions.

  • Daniel Khazaei Daniel Khazaei created merge request #113

    Suppress Gcc-8 warnings

  • Daniel Khazaei Daniel Khazaei committed [9e8966]

    [bugfix]: writing to an object with no trivial copy-assignment [wclass-memaccess].

  • Daniel Khazaei Daniel Khazaei committed [314069]

    [port]: disabled flex++ warnings during foam compile.

  • Daniel Khazaei Daniel Khazaei committed [69192a]

    [port]: re-write List container to suppress [-Walloc-size-larger-than=].

  • Daniel Khazaei Daniel Khazaei committed [4e8d74]

    [bugfix]: corrected APPBIN path for RichardsFoam solver.

  • Daniel Khazaei Daniel Khazaei committed [412368]

    [port]: re-write List container to suppress [-Walloc-size-larger-than=].

  • Daniel Khazaei Daniel Khazaei committed [19071d]

    [port]: re-write List container to suppress [-Walloc-size-larger-than=].

  • Daniel Khazaei Daniel Khazaei committed [084a58]

    [port]: re-write List container to suppress [-Walloc-size-larger-than=].

  • Daniel Khazaei Daniel Khazaei committed [05f514]

    [bugfix]: fixed ggc-8 warning: writing to an object with no trivial copy-assignment.

  • Daniel Khazaei Daniel Khazaei committed [c80d13]

    [port]: re-write List container to suppress [-Walloc-size-larger-than=].

  • Daniel Khazaei Daniel Khazaei created ticket #29

    foam-extend future plans

  • Daniel Khazaei Daniel Khazaei created merge request #108

    64-bit label bugfix for refinement utility of dynamicMesh

  • Daniel Khazaei Daniel Khazaei committed [ef7d8e]

    [bugfix]: fixed 64-bit label compile failure.

  • Daniel Khazaei Daniel Khazaei posted a comment on merge request #99

    Dear H. Jasak, Is there any reason that commits from the recent merge requests are not visible on the nextRealease branch despite of a change in their status(open --> merged)? Regards

  • Daniel Khazaei Daniel Khazaei modified a comment on merge request #102

    I have noticed the problem when I was trying to model a boiling mechanism of incompressible two-phase flow inside a closed-loop thermosyphon without any inlet/oulet boundary conditions. The fixedFluxedPressure pressure boundary condition is applied on the walls and no slip boundary condition is used for the velocity field. I have a temperature-dependent mass transfer source term in pdEqn as follow: fvScalarMatrix pdEqn ( fvc::div(phiHbyA) - fvm::laplacian(rAUf, pd_) - (vDotc - vDotv) ); The problem...

  • Daniel Khazaei Daniel Khazaei modified a comment on merge request #102

    I have noticed the problem when I was trying to model a boiling mechanism of incompressible two-phase flow inside a closed-loop thermosyphon without any inlet/oulet boundary conditions. The fixedFluxedPressure pressure boundary condition is applied on the walls and no slip boundary condition is used for the velocity field. I have a temperature-dependent mass transfer source term in pdEqn as follow: fvScalarMatrix pdEqn ( fvc::div(phiHbyA) - fvm::laplacian(rAUf, pd_) - (vDotc - vDotv) ); The problem...

  • Daniel Khazaei Daniel Khazaei modified a comment on merge request #102

    I have noticed the problem when I was trying to model a boiling mechanism of incompressible two-phase flow inside a closed-loop thermosyphon without any inlet/oulet boundary conditions. The fixedFluxedPressure pressure boundary condition is applied on the walls and no slip boundary condition is used for the velocity field. I have a temperature-dependent mass transfer source term in pdEqn as follow: fvScalarMatrix pdEqn ( fvc::div(phiHbyA) - fvm::laplacian(rAUf, pd_) - (vDotc - vDotv) ); The problem...

  • Daniel Khazaei Daniel Khazaei modified a comment on merge request #102

    I have noticed the problem when I was trying to model a boiling mechanism of incompressible two-phase flow inside a closed-loop thermosyphon without any inlet/oulet boundary conditions. The fixedFluxedPressure pressure boundary condition is applied on the walls and no slip boundary condition is used for the velocity field. I have a temperature-dependent mass transfer source term in pdEqn as follow: fvScalarMatrix pdEqn ( fvc::div(phiHbyA) - fvm::laplacian(rAUf, pd_) - (vDotc - vDotv) ); The problem...

  • Daniel Khazaei Daniel Khazaei posted a comment on merge request #102

    I have noticed the problem when I was trying to model a boiling mechanism of incompressible two-phase flow inside a closed-loop thermosyphon without any inlet/oulet boundary conditions. The fixedFluxedPressure pressure boundary condition is applied on the walls and no slip boundary condition is used for the velocity field. I have a temperature-dependent mass transfer source term in pdEqn as follow: fvScalarMatrix pdEqn ( fvc::div(phiHbyA) - fvm::laplacian(rAUf, pd_) - (vDotc - vDotv) ); The problem...

  • Daniel Khazaei Daniel Khazaei modified a comment on merge request #102

    Yes the only bugfix as stated by commit [4e046a] is the label fix in the last function and the rest of the changes are only enhancments. Commit [f7bfb3] is just an improvment to findRefCell utility to keep track of changes in OpenFOAM-dev. As it can been seen the main code is untouched and only the structure has been re-written whcih provides a few simplicities. setRefCell function is now boolean instead of void which is usefull if we need to use it as a conditional clause. setRefCell function can...

  • Daniel Khazaei Daniel Khazaei modified a comment on merge request #102

    Yes the only bugfix as stated by commit [4e046a] is the label fix in the last function and the rest of the changes are only enhancments. Commit [f7bfb3] is just an improvment to findRefCell utility to keep track of changes in OpenFOAM-dev. As it can been seen the main code is untouched and only the structure has been re-written whcih provides a few simplicities. setRefCell function is now boolean instead of void which is usefull if we need to use it as a conditional clause. setRefCell function can...

  • Daniel Khazaei Daniel Khazaei modified a comment on merge request #102

    Yes the only bugfix as stated by commit [4e046a] is the label fix in the last function and the rest of the changes are only enhancments. Commit [f7bfb3] is just an improvment to findRefCell utility to keep track of changes in OpenFOAM-dev. As it can been seen the main code is untouched and only the structure has been re-written whcih provides a few simplicities. setRefCell function is now boolean instead of void which is usefull if we need to use it as a conditional clause. setRefCell function can...

  • Daniel Khazaei Daniel Khazaei modified a comment on merge request #102

    Yes the only bugfix as stated by commit [4e046a] is the label fix in the last function and the rest of the changes are only enhancments. Commit [f7bfb3] is just an improvment to findRefCell utility to keep track of changes in OpenFOAM-dev. As it can been seen the main code is untouched and only the structure has been re-written whcih provides a few simplicities. setRefCell function is now boolean instead of void which is usefull if we need to use it as a conditional clause. setRefCell function can...

  • Daniel Khazaei Daniel Khazaei modified a comment on merge request #102

    Yes the only bugfix as stated by commit [4e046a] is the label fix in the last function and the rest of the changes are only enhancments. Commit [f7bfb3] is just an improvment to findRefCell utility to keep track of changes in OpenFOAM-dev. As it can been seen the main code is untouched and only the structure has been re-written whcih provides a few simplicities. setRefCell function is now boolean instead of void which is usefull if we need to use it as a conditional clause. setRefCell function can...

  • Daniel Khazaei Daniel Khazaei modified a comment on merge request #102

    Yes the only bugfix as stated by commit [4e046a] is the label fix in the last function and the rest of the changes are only enhancments. Commit [f7bfb3] is just an improvment to findRefCell utility to keep track of changes in OpenFOAM-dev. As it can been seen the main code is untouched and only the structure has been re-written whcih provides a few simplicities. setRefCell function is now boolean instead of void which is usefull if we need to use it as a conditional clause. setRefCell function can...

  • Daniel Khazaei Daniel Khazaei posted a comment on merge request #102

    Yes the only bugfix as stated by commit [4e046a] is the label fix in the last function and the rest of the changes are only enhancments. Commit [f7bfb3] is just an improvment to findRefCell utility to keep track of changes in OpenFOAM-dev. As it can been seen the main code is untouched and only the structure has been re-written whcih provides a few simplicities. setRefCell function is now boolean instead of void which is usefull if we need to use it as a conditional clause. setRefCell function can...

  • Daniel Khazaei Daniel Khazaei committed [f7bfb3]

    [enh]: backported upstream (OpenFOAM-dev) changes to findRefCell utility.

  • Daniel Khazaei Daniel Khazaei created merge request #102

    critical bug in getRefCellValue function

  • Daniel Khazaei Daniel Khazaei committed [4e046a]

    [bugfix]: getRefCellValue returns truncated label instead of a scalar.

  • Daniel Khazaei Daniel Khazaei committed [e8a007]

    [bugfix]: 64-bit label bugfix some how got overwritten by cfMesh update.

  • Daniel Khazaei Daniel Khazaei committed [77b81b]

    [bugfix]: 64-bit label bugfix some how got overwrited by cfMesh update.

  • Daniel Khazaei Daniel Khazaei committed [7fee1a]

    [cxx-syntax]: consistent usage of nullptr.

  • Daniel Khazaei Daniel Khazaei created merge request #99

    gcc8 compliance improvments

  • Daniel Khazaei Daniel Khazaei committed [c429f3]

    [bugfix]: recover velocity field in a more general way.

  • Daniel Khazaei Daniel Khazaei committed [be47d0]

    [format]: make forward declaration style consistent.

  • Daniel Khazaei Daniel Khazaei committed [0642eb]

    [bugfix]: friend operators need forward declaration to avoid gcc warning.

  • Daniel Khazaei Daniel Khazaei committed [d2bc24]

    format: make cfMesh banner consistent and removed trailing whitespace

  • Daniel Khazaei Daniel Khazaei posted a comment on ticket #21

    well, I have compiled and tested several cases without any problems. Also swak4Foam (modified), waves2Foam and fluidSolidInteraction(modified) packages can be compiled without any problems. So in my opinion, we can close this issue... I have fixed a few warnings here: https://sourceforge.net/p/foam-extend/foam-extend-4.0/merge-requests/97/ However, I don't fully understand this: https://sourceforge.net/p/foam-extend/tickets/24/

  • Daniel Khazaei Daniel Khazaei created merge request #97

    GCC8 compatibility improvments

  • Daniel Khazaei Daniel Khazaei committed [5f08a2]

    Bugfix: update cfMesh to v1.1 which fixes self-comparison always evaluates to false [-Wtautological-compare]

  • Daniel Khazaei Daniel Khazaei committed [b9ba5e]

    Bugfix: Added support for openmpi 4.0.0 and updated c++ casting style to suppress [-Wold-style-cast]

  • Daniel Khazaei Daniel Khazaei committed [0803bd]

    Bugfix: fixed the compiler can assume that the address of ‘t’ will never be NULL warning [-Waddress]

  • Daniel Khazaei Daniel Khazaei committed [9c81a3]

    CXX-syntax: updated tecio c++ casting style to suppress [-Wold-style-cast]

  • Daniel Khazaei Daniel Khazaei committed [a480f9]

    Bugfix: type qualifiers ignored on cast result type

  • Daniel Khazaei Daniel Khazaei committed [23ef4e]

    Bugfix: overflow in conversion from Foam::label to int

  • Daniel Khazaei Daniel Khazaei created ticket #24

    warning: ‘<anonymous>’ may be used uninitialized in this function [-Wmaybe-uninitialized]

  • Daniel Khazaei Daniel Khazaei modified a comment on ticket #21

    Hi Bernhard, I have tested the latest commit made by Henrik, got the following error with swak4Foam: generalInterpreterWrapper.C: In member function ‘void Foam::generalInterpreterWrapper::scatterGlobals()’: generalInterpreterWrapper.C:590:31: error: no match for ‘operator<’ (operand types are ‘Foam::label’ {aka ‘long int’} and ‘const Foam::debug::optimisationSwitch’) if (Pstream::nProcs() < Pstream::nProcsSimpleSum) fixed that by: if (Pstream::nProcs() < Pstream::nProcsSimpleSum()) So now this: is...

  • Daniel Khazaei Daniel Khazaei modified a comment on ticket #21

    Hi Bernhard, I have tested the latest commit made by Henrik, got the following error with swak4Foam: generalInterpreterWrapper.C: In member function ‘void Foam::generalInterpreterWrapper::scatterGlobals()’: generalInterpreterWrapper.C:590:31: error: no match for ‘operator<’ (operand types are ‘Foam::label’ {aka ‘long int’} and ‘const Foam::debug::optimisationSwitch’) if (Pstream::nProcs() < Pstream::nProcsSimpleSum) fixed that by: if (Pstream::nProcs() < Pstream::nProcsSimpleSum())

  • Daniel Khazaei Daniel Khazaei posted a comment on ticket #21

    Hi Bernhard, I have tested the latest commit made by Henrik, got the following error with swak4Foam: generalInterpreterWrapper.C: In member function ‘void Foam::generalInterpreterWrapper::scatterGlobals()’: generalInterpreterWrapper.C:590:31: error: no match for ‘operator<’ (operand types are ‘Foam::label’ {aka ‘long int’} and ‘const Foam::debug::optimisationSwitch’) if (Pstream::nProcs() < Pstream::nProcsSimpleSum) fixed that by: if (Pstream::nProcs() < Pstream::nProcsSimpleSum**()**)

  • Daniel Khazaei Daniel Khazaei posted a comment on ticket #21

    Dear Bernhard Gschaider, Just noticed that you have also replied in here. This should work without breaking other distributions...tested on both OpenFOAM-v1812 and foam-extend-4.1 with WM_LABEL_SIZE=64! The reason I emailed you the patch is that whenever I try to push my new branch, I get the following error: hg push --new-branch pushing to http://hg.code.sf.net/p/openfoam-extend/swak4Foam searching for changes abort: HTTP Error 403: Forbidden Regards

  • Daniel Khazaei Daniel Khazaei posted a comment on ticket #21

    Dear Henrik, I have provided the results of the following commands to the maintainer at bgschaid@hfd-research.com. hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam hg update develop hg branch hotfix/64BitLabel (modifying files) hg add hg commit -m "BUGFIX: Compile WM_LABEL_SIZE=64" hg export -o 64BitLabel.patch 3108892b176f patched files list: foam-extend-4.1 and OpenFOAM-v1812 shiftFieldGeneralPluginFunction.C foam-extend-4.1 only pythonInterpreterWrapper.C python3InterpreterWrapper.C...

  • Daniel Khazaei Daniel Khazaei modified a comment on ticket #21

    yes, I can do that! however I'm relatively new in using git and just started to learn by forking a mirror of https://sourceforge.net/p/foam-extend/foam-extend-4.0/ci/master/tree/ to my gitlab account. What I need to do is fork the current development branch of swak4Foam ( http://hg.code.sf.net/p/openfoam-extend/swak4Foam/file/c647257ad598 ) and then request for a merge after commiting the changes?

  • Daniel Khazaei Daniel Khazaei posted a comment on ticket #21

    yes, I can do that! however I'm relatively new in using git and just started to learn by forking a mirror of https://sourceforge.net/p/foam-extend/foam-extend-4.0/ci/master/tree/ to my gitlab account. What I need to do is fork the current development branch of swak4Foam (http://hg.code.sf.net/p/openfoam-extend/swak4Foam/file/c647257ad598) and then request for a merge after commiting the changes?

  • Daniel Khazaei Daniel Khazaei posted a comment on ticket #21

    thanks alot, that fixed the error!

  • Daniel Khazaei Daniel Khazaei posted a comment on ticket #21

    managed to fixed 2 out 3 errors, I dont realy understand the last error...

  • Daniel Khazaei Daniel Khazaei posted a comment on ticket #21

    now the latest swak4Foam fails to build under 64-bit, log is attached...

  • Daniel Khazaei Daniel Khazaei posted a comment on ticket #21

    Dear Henrik, I can confirm that the problem has been fixed and the source can now be compiled with WM_LABEL_SIZE set to 64.

  • Daniel Khazaei Daniel Khazaei modified a comment on ticket #21

    Dear Henrik, I have almost finished applying the fixes based on the commits a48ee8b and 40cad3c! However I can't find the 64-bit patches of metis, scotch and ParMGridGen in here: https://sourceforge.net/u/henrus/foam-extend-4.0/ci/bugfix/64BitLabel/%7E/tree/ThirdParty/rpmBuild/SOURCES/

  • Daniel Khazaei Daniel Khazaei posted a comment on ticket #21

    Dear Henrik, I have almost finished applying the fixes based on the commits a48ee8b and 40cad3c! However I can't find the 64-bit patches of metis, scotch and ParMGridGen in the here: https://sourceforge.net/u/henrus/foam-extend-4.0/ci/bugfix/64BitLabel/%7E/tree/ThirdParty/rpmBuild/SOURCES/

  • Daniel Khazaei Daniel Khazaei modified a comment on ticket #21

    Dear Henrik, thank you for looking into this problem, however I cant access the link you have posted! Using git clone ssh://henrus@git.code.sf.net/u/henrus/foam-extend-4.0 requires password... if I can see the corrosponding commits, I can make the changes on my local repo and will let you know if its working. Edit: never mind, found the corrosponding commits in your profile! will try to apply them and report back... Regards, Daniel

  • Daniel Khazaei Daniel Khazaei modified a comment on ticket #21

    Dear Henrik, thank you for looking into this problem, however I cant access the link you have posted! Using git clone ssh://henrus@git.code.sf.net/u/henrus/foam-extend-4.0 requires password... if I can see the corrosponding commits, I can make the changes on my local repo and will let you know if its working. Regards, Daniel

  • Daniel Khazaei Daniel Khazaei posted a comment on ticket #21

    Dear Henrik, thank you for looking into this problem, however I cant access the link you posted! Using git clone ssh://henrus@git.code.sf.net/u/henrus/foam-extend-4.0 requires password... if I can see the corrosponding commits, I can make the changes on my local repo and will let you know if its working. Regards, Daniel

  • Daniel Khazaei Daniel Khazaei created ticket #21

    nextRelease branch compile fails when WM_LABEL_SIZE=64

  • Daniel Khazaei Daniel Khazaei created ticket #20

    corrupted size vs prev_size nextRelease

  • Daniel Khazaei Daniel Khazaei posted a comment on ticket #18

    well, managed to solve the problem! apparently allowSystemOperations should be defined in the local controlDict and the error shown by dynamicCode.C is misleading about the global controlDict which is not being read anymore!

  • Daniel Khazaei Daniel Khazaei created ticket #18

    dynamicCode functionality

1
MongoDB Logo MongoDB